generated from malang-dev/template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.base.json
37 lines (37 loc) · 1.14 KB
/
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
35
36
37
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
// build es2022 modules by default
"target": "ES2022",
"module": "ES2022",
// "lib": ["ES2022"],
"types": ["node"],
"moduleResolution": "node",
"importHelpers": true,
"esModuleInterop": true,
"removeComments": true,
// enable JS only as needed on per-project basis
"allowJs": false,
// required to support esbuild, babel, and similar transpilers
"isolatedModules": true,
// allow import .json file
"resolveJsonModule": true,
// produce consistent output across all platforms
"newLine": "lf",
// produce .js.map, .d.ts and .d.ts.map files when emit is enabled
"noEmit": true,
"declaration": false,
"declarationMap": false,
"sourceMap": false,
// recommended for faster compilation
"skipLibCheck": true,
// be as strict as possible, but no stricter
"strict": true,
"strictPropertyInitialization": false,
"strictNullChecks": false,
"strictFunctionTypes": false,
"noImplicitAny": false,
"verbatimModuleSyntax": false
}
}