-
-
Notifications
You must be signed in to change notification settings - Fork 171
/
Copy pathtsconfig.json
45 lines (43 loc) · 1.32 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// {
// "extends": "./.svelte-kit/tsconfig.json",
// "compilerOptions": {
// "allowJs": true,
// "checkJs": true,
// "esModuleInterop": true,
// "outDir": "./dist",
// "declaration": true,
// "declarationDir": "./dist/lib/utils",
// "forceConsistentCasingInFileNames": true,
// "resolveJsonModule": true,
// "skipLibCheck": true,
// "sourceMap": true,
// "strict": true,
// "verbatimModuleSyntax": true // New option replacing the removed ones
// },
// "include": ["src/**/*.ts"],
// "exclude": ["node_modules"]
// }
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"outDir": "./dist",
"declaration": true, // Generate .d.ts files
"declarationDir": "./dist/lib/utils", // Ensure declaration files go to dist/lib/utils
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true
}
// "include": [
// "src/**/*.ts" // Include your TypeScript files from src
// ],
// "exclude": ["node_modules"]
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in