-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtsconfig.json
More file actions
30 lines (30 loc) · 866 Bytes
/
tsconfig.json
File metadata and controls
30 lines (30 loc) · 866 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
{
/* From https://www.totaltypescript.com/tsconfig-cheat-sheet */
"compilerOptions": {
/* Base Options: */
// Use correct ESM import behavior
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ESNext",
// Allow JS files to be imported from TS and vice versa
"allowJs": true,
"resolveJsonModule": true,
// Treat files as modules even if it doesn't use import/export
"moduleDetection": "force",
// Disallow features that require cross-file awareness
"isolatedModules": true,
"verbatimModuleSyntax": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"module": "NodeNext",
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true,
"lib": ["ESNext"],
"rootDir": "./src",
"outDir": "./dist"
},
"exclude": ["TODO"],
"include": ["src/**/*.ts"]
}