-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (28 loc) · 790 Bytes
/
Copy pathtsconfig.json
File metadata and controls
28 lines (28 loc) · 790 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
// 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.
"declaration": true,
// Transpiling with a bundler.
"module": "preserve",
"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"]
}
}