-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
46 lines (46 loc) · 1.28 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
{
"compilerOptions": {
/* Base Options */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022",
/* "verbatimModuleSyntax": true, */
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
/* If transpiling with TypeScript */
/* "moduleResolution": "NodeNext",
"module": "NodeNext",
"outDir": "dist",
"sourceMap": true, */
/* If NOT transpiling with TypeScript */
"moduleResolution": "Node", // Bundler
"module": "CommonJS", // ESNext
"noEmit": true,
/* If your code runs in the DOM */
"lib": ["dom", "dom.iterable", "es2022"],
/* If your code doesn't run in the DOM */
/* "lib": ["es2022"], */
/* If you're building for a library */
/* "declaration": true, */
/* If you're building for a library in a monorepo */
/* "composite": true,
"declarationMap": true, */
"incremental": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next",
},
],
"paths": {
"@/*": ["./*"],
},
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "./typechain-types"],
"exclude": ["components", "node_modules"],
}