-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (30 loc) · 920 Bytes
/
tsconfig.json
File metadata and controls
32 lines (30 loc) · 920 Bytes
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
{
"compilerOptions": {
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"newLine": "LF",
"types": ["node"],
/* JS */
/*
Solves "Cannot write file '.../.js' because it would overwrite input file."
*/
"outDir": "types",
"allowJs": true,
"checkJs": true,
"skipLibCheck": false,
"maxNodeModuleJsDepth": 1,
/* Linting */
"strict": true,
"isolatedModules": true,
"moduleDetection": "force",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"useDefineForClassFields": true,
},
"exclude": ["node_modules", "/types"],
}