-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtsconfig.json
More file actions
37 lines (37 loc) · 1.49 KB
/
tsconfig.json
File metadata and controls
37 lines (37 loc) · 1.49 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
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"compilerOptions": {
"declaration": true,
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
"strictPropertyInitialization": false,
// Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
"allowSyntheticDefaultImports": true,
// Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.
"esModuleInterop": true,
// Specify JSX code generation: 'preserve', 'react-native', or 'react'.
"jsx": "preserve",
// Import emit helpers (e.g. __extends, __rest, etc..) from tslib
"importHelpers": true,
// Enables experimental support for ES7 decorators.
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// Generates corresponding .map file.
"sourceMap": true,
// Disallow inconsistently-cased references to the same file.
"forceConsistentCasingInFileNames": true,
// skip type checking of declaration files
"skipLibCheck": true,
"useDefineForClassFields": true,
"outDir": "lib",
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": false,
// Allow json import
"resolveJsonModule": true,
"allowJs": true,
"lib": ["es2018"],
"module": "commonjs",
"target": "es2018"
},
"exclude": ["**/test", "**/lib", "**/dist", "**/es", "node_modules", "schemas"],
"include": ["src/**/*"]
}