-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
39 lines (39 loc) · 1.23 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
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"types": ["@testing-library/jest-dom"], // To recognize methods like toBeInTheDocument()
"moduleResolution": "bundler"
},
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
//
// 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
"include": [
"eslint.config.js",
"svelte.config.js",
"tailwind.config.cjs",
"vitest-setup.js",
"vitest.config.js",
".svelte-kit/ambient.d.ts", // Here and below from .svelte-kit/tsconfig.json
".svelte-kit/non-ambient.d.ts",
".svelte-kit//types/**/$types.d.ts",
"vite.config.js",
"vite.config.ts",
"src/**/*.js",
"src/**/*.ts",
"src/**/*.svelte",
"test**/*.ts",
"tests/**/*.js",
"tests/**/*.ts",
"tests/**/*.svelte"
]
}