-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
Copy pathtsconfig.json
45 lines (45 loc) · 1.24 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
41
42
43
44
45
{
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"outDir": "./dist",
/* https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping */
"target": "es2022",
"moduleResolution": "nodenext",
"module": "nodenext",
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"noUnusedLocals": true,
"noImplicitOverride": true,
"experimentalDecorators": true,
"useUnknownInCatchVariables": false /* we aren't prepared for enabling this by default since ts 4.4*/,
"isolatedModules": true /* required for esbuild */,
"lib": ["es2023"],
"types": ["node", "vitest/globals"],
"allowJs": true,
"checkJs": true,
"ignoreDeprecations": "5.0",
"skipLibCheck": true, // https://github.com/vitejs/vite/discussions/12466#discussioncomment-7596971
"paths": {
"~test/*": ["./test/*"]
}
},
"include": ["**/*.mts", "**/*.ts", "**/*.js", "**/*.mjs", "**/*.cjs"],
"exclude": [
"node_modules",
"./.cache",
"./dist",
"**/__mocks__/*",
"coverage",
"config.js",
"tmp",
"tools/mkdocs/site"
],
"ts-node": {
"transpileOnly": true,
"esm": false
}
}