-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
40 lines (36 loc) · 2.89 KB
/
tsconfig.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
38
39
40
{
"compilerOptions": {
/* Basic Options */
"target": "ES2022", /* Specify ECMAScript target version */
"module": "NodeNext", /* Specify module code generation */
"lib": ["ESNext"], /* Specify library files to be included */
"types": ["bun-types"],
"outDir": "./dist", /* Redirect output structure to the directory */
"rootDir": "./src", /* Specify the root directory of input files */
"strict": true, /* Enable all strict type-checking options */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file */
/* Additional Checks */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type */
"strictNullChecks": true, /* Enable strict null checks */
"strictFunctionTypes": true, /* Ensure functions' parameter types are consistent */
"strictPropertyInitialization": true, /* Ensure non-undefined class properties are initialized in the constructor */
"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 */
/* Module Resolution Options */
"moduleResolution": "NodeNext", /* Choose the module resolution strategy */
"baseUrl": "./", /* Base directory to resolve non-relative module names */
"paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl' */
"*": ["node_modules/*"]
},
/* Source Map Options */
"sourceMap": true, /* Generate corresponding '.map' file */
"inlineSourceMap": false, /* Emit a single source map with the JavaScript file */
"inlineSources": true, /* Emit the source alongside the sourcemaps within a single file */
/* Experimental Options */
"experimentalDecorators": true, /* Enables experimental support for decorators */
"emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators */
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.spec.ts"],
}