-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtsconfig.json
42 lines (42 loc) · 1.01 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
{
"compilerOptions": {
// Base Options recommended for all projects
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
// Enable strict type checking so you can catch bugs early
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"jsx": "preserve",
// We are not transpiling, so preserve our source code and do not emit files
"module": "preserve",
"noEmit": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
},
// Include the DOM types
"lib": ["es2022", "dom", "dom.iterable"],
"incremental": false,
"plugins": [
{
"name": "next"
}
]
},
// Include the necessary files for your project
"include": [
"**/*.ts",
"**/*.tsx",
"app/**/*.ts",
"app/**/*.tsx",
".next/types/**/*.ts"
],
"exclude": ["node_modules"]
}