-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
37 lines (37 loc) · 1.85 KB
/
tsconfig.json
File metadata and controls
37 lines (37 loc) · 1.85 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": {
"target": "ES2022", // Target ECMAScript version
"module": "commonjs", // Module system to use
"lib": [
"ESNext"
], // Include library files
"outDir": "./dist", // Output directory for compiled files
"rootDir": "./src", // Root directory of input files
"moduleResolution": "node", // Module resolution strategy
"esModuleInterop": true, // Emit __importStar and __importDefault helpers for runtime babel ecosystem compatibility
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
"strict": true, // Enable all strict type-checking options
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
"strictNullChecks": true, // Enable strict null checks
"strictFunctionTypes": true, // Enable strict checking of function types
"strictBindCallApply": true, // Enable strict 'bind', 'call', and 'apply' methods on functions
"strictPropertyInitialization": true, // Enable strict checking of property initialization in classes
"noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type
"alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file
"removeComments": false, // Do not emit comments to output
"declaration": true, // Generate .d.ts files
"declarationMap": true, // Create sourcemaps for d.ts files
"sourceMap": true, // Generate source maps
"experimentalDecorators": true, // Enable experimental support for decorators
"emitDecoratorMetadata": true // Emit design-type metadata for decorated declarations
},
"exclude": [
"node_modules",
"**/*.spec.ts",
"dist"
],
"include": [
"./src/**/*"
]
}