-
-
Notifications
You must be signed in to change notification settings - Fork 103
/
tsconfig.base.json
37 lines (37 loc) · 1.21 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": "http://json.schemastore.org/tsconfig",
"compilerOptions": {
"baseUrl": "./",
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "Node",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
// Search under node_modules for non-relative imports.
"moduleDetection": "auto",
// ensure that nobody can accidentally use this config for a build
"noEmit": true,
"declaration": true,
"declarationMap": true,
"noEmitOnError": true,
"noErrorTruncation": true,
// Enforce using `import type` instead of `import` for Types
"importsNotUsedAsValues": "error",
"allowJs": true,
// Generate inline sourcemaps
"sourceMap": false,
"inlineSourceMap": true,
"inlineSources": true,
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
// Allow to import json files
"resolveJsonModule": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true
}
}