Skip to content

Commit bb500d9

Browse files
author
gitgitWi
committed
Build: add some options for next, ts automatically added by next
1 parent 758af35 commit bb500d9

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

next-env.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference types="next" />
2-
/// <reference types="next/types/global" />
32
/// <reference types="next/image-types/global" />
43

54
// NOTE: This file should not be edited

tsconfig.json

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,14 @@
1111
// "emitDecoratorMetadata": true,
1212
"skipLibCheck": true,
1313
"forceConsistentCasingInFileNames": true,
14-
"lib": [
15-
"dom",
16-
"dom.iterable",
17-
"esnext"
18-
],
14+
"lib": ["dom", "dom.iterable", "esnext"],
1915
"noEmit": true,
2016
"moduleResolution": "node",
2117
"resolveJsonModule": true,
2218
"isolatedModules": true,
23-
"jsx": "preserve"
19+
"jsx": "preserve",
20+
"incremental": true
2421
},
25-
"include": [
26-
"next-env.d.ts",
27-
"**/*.ts",
28-
"**/*.tsx"
29-
],
30-
"exclude": [
31-
"node_modules"
32-
]
22+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
23+
"exclude": ["node_modules"]
3324
}

0 commit comments

Comments
 (0)