-
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.03 KB
/
tsconfig.json
File metadata and controls
33 lines (30 loc) · 1.03 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
{
"extends": "@tsconfig/node22/tsconfig.json",
"compilerOptions": {
// Specify the root folder contains all ts files
"rootDir": ".",
// Specify the base directory to resolve non-relative module names
"baseUrl": "./src",
"paths": {
"~/*": ["../tests/*"]
},
"outDir": "./build",
// Don't emit generated files to output.
// This flag will be overwrite when building the project
"noEmit": true,
// Remove comments from output
"removeComments": true,
// Make file imports are case-sensitive
"forceConsistentCasingInFileNames": true,
// Treat files as modules even if it doesn't use import/export
"moduleDetection": "force",
// Allow JSON modules to be imported
"resolveJsonModule": true,
// Disallow features that require cross-file awareness
"isolatedModules": true,
// Force all non-type imports being preserved
"verbatimModuleSyntax": true,
"useDefineForClassFields": true
},
"exclude": ["node_modules", "dist", "build", "docs", "coverage"]
}