forked from ibnumusyaffa/node-ts-esm-starter-minimal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
32 lines (29 loc) · 831 Bytes
/
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
{
"compilerOptions": {
/* Base Options: */
"skipLibCheck": true, //Skip node_modules type checking
"target": "es2022", //Compile target
"lib": ["es2022"], //Tell TypeScript what built-in types to include
"types": ["node"], //Tell TypeScript what types to include
/* Module system: */
"esModuleInterop": true,
"module": "CommonJS",
"moduleResolution": "node",
/* Import options: */
"allowJs": true, //Allow import .js
"resolveJsonModule": true, //Allow import .json
"allowSyntheticDefaultImports": true,
/* Strictness: */
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitAny": false,
/* Directory */
"outDir": "dist",
"rootDir": "./src",
"baseUrl": "./src",
"paths": {
"@/*": ["*"]
}
},
"include": ["src/**/*"]
}