-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
33 lines (30 loc) · 1.72 KB
/
tsconfig.json
File metadata and controls
33 lines (30 loc) · 1.72 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
{
"compilerOptions": {
/* Type Checking */
"strict": true /* Enable all strict type-checking options (recommended for safety) */,
"forceConsistentCasingInFileNames": true /* Ensure file system references are consistent */,
"skipLibCheck": true /* Skip type checking of declaration files (faster compilation) */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type */,
"esModuleInterop": true /* Allows interoperability between CommonJS and ES Modules */,
/* Modules */
"module": "node16" /* Node.js-aware module emit compatible with package.json "type" */,
"moduleResolution": "node16" /* Modern Node.js module resolution (replaces deprecated node10) */,
"target": "es2020" /* Specify ECMAScript target version (ES2020 is a good modern target) */,
/* Output */
"outDir": "./dist" /* Redirect output structure to the 'dist' folder */,
"rootDir": "./src" /* Specify the root directory of source files */,
"sourceMap": true /* Generate corresponding .map files for debugging */,
"resolveJsonModule": true /* Include modules imported from .json files */,
/* Language and Environment */
"lib": [
"es2020"
] /* Specify library files to be included in the compilation */,
"types": [
"node"
] /* Include Node.js type declarations (process, console, child_process, etc.) */,
"emitDecoratorMetadata": true /* Enable metadata for decorators (if using libraries like TypeORM) */,
"experimentalDecorators": true /* Enable experimental support for TC39 decorators */
},
"include": ["src/**/*"] /* Only include files within the 'src' directory */,
"exclude": ["node_modules"] /* Exclude the 'node_modules' directory */
}