Skip to content

Commit 0082f79

Browse files
committed
feat: update TypeScript configurations to adapt Typescript 6.0
1 parent 16590ac commit 0082f79

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@/*": ["./src/*"]
66
},
77

8-
"types": ["vitest/globals"]
8+
"types": ["node", "vitest/globals"]
99
},
1010
"include": [".", "src", "types", "build"],
1111
"exclude": ["dist", "tests/*/*"]

tsconfigs/base.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"compilerOptions": {
44
// Type Checking
5-
"strict": true,
65
"noFallthroughCasesInSwitch": true,
76
"noImplicitOverride": true,
87
"noImplicitReturns": true,
@@ -11,10 +10,9 @@
1110
"noUnusedParameters": false,
1211

1312
// Modules
14-
"module": "ESNext",
1513
"moduleResolution": "bundler",
14+
"types": ["node"],
1615
"allowArbitraryExtensions": true,
17-
"noUncheckedSideEffectImports": true,
1816
"resolveJsonModule": true,
1917
"rewriteRelativeImportExtensions": true,
2018

tsconfigs/react.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"extends": "./base.json",
44
"compilerOptions": {
5-
"lib": ["ESNext", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
5+
"lib": ["ESNext", "DOM"],
66
"jsx": "react-jsx"
77
}
88
}

0 commit comments

Comments
 (0)