-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (29 loc) · 856 Bytes
/
tsconfig.json
File metadata and controls
29 lines (29 loc) · 856 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
// See https://www.totaltypescript.com/tsconfig-cheat-sheet.
{
"compilerOptions": {
// Base options.
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
// Strictness.
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Building a library with zshy.
"declaration": true,
"module": "NodeNext",
"allowImportingTsExtensions": true,
"noEmit": true,
// No DOM.
"lib": ["es2022"],
// TypeScript 6 explicit types.
// See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html#types-now-defaults-to-
"types": ["node"]
},
"exclude": ["coverage", "dist", "node_modules"]
}