-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (32 loc) · 855 Bytes
/
tsconfig.json
File metadata and controls
32 lines (32 loc) · 855 Bytes
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
{
// base config file, installed as a module
"compilerOptions": {
"lib": ["es2022"],
"declaration": true,
"module": "commonjs",
"target": "es2022",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
// where to emit
"outDir": "build/",
// source maps for js to ts error mapping
"sourceRoot": "src",
"sourceMap": true,
// try to infer js
"allowJs": true,
// makes things faster
"incremental": true,
// allow .json files to be imported
"resolveJsonModule": true,
// make ts stricter
"noImplicitAny": false,
"strict": true,
"strictNullChecks": true
}, // only look at these files
"include": ["src/**/*"],
"watchOptions": {
// dont watch these files
"excludeDirectories": ["build", "dist", "**/node_modules"]
}
}