-
Notifications
You must be signed in to change notification settings - Fork 8
/
tsconfig.base.json
34 lines (33 loc) · 984 Bytes
/
tsconfig.base.json
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
33
34
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"target": "ES2017",
"lib": [
"ES2017",
"DOM",
"DOM.Iterable",
"ES2021.WeakRef"
// "webworker",
],
// "isolatedModules": true,
// "esModuleInterop": true,
////
"noEmit": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
// "allowImportingTsExtensions": true,
// "allowSyntheticDefaultImports": false,
// "esModuleInterop": false,
// "isolatedModules": true, // for bundlers like vite. Setting the isolatedModules flag tells TypeScript to warn you if you write certain code that can’t be correctly interpreted by a single-file transpilation process.
/* Linting */
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"src",
"typing" //"node_modules/zotero-types"
],
"exclude": ["build", "addon", "scripts"]
}