-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
24 lines (24 loc) · 1.02 KB
/
tsconfig.json
File metadata and controls
24 lines (24 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// https://www.typescriptlang.org/tsconfig#extends
// The configuration from this file is loaded first, then overridden by those in the inheriting config file. But path-based compiler options (outDir, outFile, rootDir, include, exclude, files) are resolved from the config file they're found in. They cannot be extended (https://github.com/microsoft/TypeScript/issues/29172).
// Config ref: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
{
"compilerOptions": {
"module": "Node16",
"target": "ES2022",
"outDir": "lib",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"sourceMap": true,
"rootDir": ".",
"strict": true,
"moduleResolution": "Node16",
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
/* Additional Checks */
"noFallthroughCasesInSwitch": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"jsx": "preserve",
"resolveJsonModule": true
},
"exclude": ["test/**/*.test.ts", "test/**/*.test.tsx", "node_modules", "scripts", "webview"]
}