-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtsconfig.json
More file actions
42 lines (39 loc) · 1.07 KB
/
tsconfig.json
File metadata and controls
42 lines (39 loc) · 1.07 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
38
39
40
41
42
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitAny": true,
/* If NOT transpiling with TypeScript: */
"module": "NodeNext",
"noEmit": false, // Allow emitting JS files
/* If your code runs in the DOM: */
// "lib": ["es2022", "dom", "dom.iterable"],
/* If your code doesn't run in the DOM: */
"lib": ["es2022"],
/* Project Structure */
"outDir": "./dist",
"rootDir": "./src",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
/* Decorators */
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
/* Source Maps */
"sourceMap": true,
"declaration": true, // Generate .d.ts files
"declarationMap": true // Generate sourcemaps for .d.ts files
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist"]
}