-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
51 lines (51 loc) · 1.57 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
46
47
48
49
50
51
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
// modules
"allowImportingTsExtensions": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
// emit
"downlevelIteration": true,
"importHelpers": true,
"sourceMap": true,
"noEmit": true,
"noEmitOnError": true,
// js support
"allowJs": true,
"checkJs": true,
// interop constraints
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
// language and env
"lib": [
"ESNext",
"DOM"
],
"target": "ESNext",
"useDefineForClassFields": true,
// output formatting
"noErrorTruncation": true,
// type checking
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"strict": true,
"alwaysStrict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"useUnknownInCatchVariables": true
}
}