-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
68 lines (68 loc) · 1.36 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"compilerOptions": {
"target": "es2017",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
// "declaration": false,
"allowJs": true,
"checkJs": true,
"skipLibCheck": true,
// ref: https://github.com/vercel/next.js/issues/5307#issuecomment-567166918
"sourceMap": true,
"strict": true,
// 太烦了
"noImplicitAny": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"noUncheckedIndexedAccess": true,
// for lodash partial import
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"paths": {
"@/prisma/*": [
"../../prisma/*"
],
"@/packages/*": [
"../../packages/*"
],
"@/*": [
"./src/*",
"./public/*",
],
"@assets/*": [
"../../assets/*"
]
},
"plugins": [
{
"name": "next"
}
]
},
"include": [
"**/*.ts",
"**/*.tsx",
"**/*.js",
"**/*.cjs",
"**/*.mjs",
".eslintrc.json",
"next-env.d.ts",
".next/types/**/*.ts",
".build/types/**/*.ts",
".serve/types/**/*.ts",
],
"exclude": [
"node_modules",
".next-tmp"
]
}