-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
56 lines (56 loc) · 1.22 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
{
"compilerOptions": {
"lib": [
"dom", // dom中定义了全局变量origin, 如果局部使用的origin不是这个,却又没有定义,会导致ts无法发现这个错误!!!
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"noImplicitAny": false,
"esModuleInterop": true,
"target": "ESNext",
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": false,
// "sourceMap": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": [
"./src/*"
],
"@/fonts": [
"./src/assets/fonts"
]
},
"types": [
"node",
"react",
"react-dom"
],
},
"include": [
"global.d.ts",
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"src/app/[lang]/(blog)/[lang]/post/[id]/_components/icons/Cross.tsx",
"src/app/[lang]/(blog)/[lang]/post/[id]/_components/icons/Check.tsx",
"src/app/[lang]/(blog)/[lang]/post/[id]/page.tsx",
"packages/utils/index.ts"
],
"exclude": [
"node_modules",
"dist"
]
}