-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
27 lines (27 loc) · 1.73 KB
/
tsconfig.json
File metadata and controls
27 lines (27 loc) · 1.73 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
{
"compilerOptions": {
"module": "commonjs", // Use CommonJS module system
"target": "ES2021", // Target ECMAScript 2021
"outDir": "./dist", // Output directory for compiled files
"baseUrl": "./",
"strictPropertyInitialization": false, // Base directory for non-relative module names
"paths": { // Path alias configuration
"@src/*": ["src/*"]
},
"emitDecoratorMetadata": true, // Enable metadata reflection for decorators
"experimentalDecorators": true, // Enable experimental decorators
"sourceMap": true, // Generate source maps
"declaration": true, // Generate declaration files
"removeComments": true, // Remove comments from output files
"allowSyntheticDefaultImports": true, // Allow synthetic default imports
"skipLibCheck": true, // Skip type checking of declaration files
"strict": true, // Enable all strict type-checking options
"incremental": true, // Enable incremental compilation
"strictNullChecks": true, // Enable strict null checks
"noImplicitAny": true, // Raise error on implicit 'any' type
"strictBindCallApply": true, // Enable strict checking of bind, call, and apply methods
"forceConsistentCasingInFileNames": true // Ensure consistent casing in file names
},
"include": ["src/**/*.ts"], // Include all TypeScript files in src directory
"exclude": ["node_modules", "dist"] // Exclude node_modules and dist directories
}