Fixed TS config file
This commit is contained in:
parent
83080ffdac
commit
db8cef826e
1 changed files with 8 additions and 11 deletions
|
|
@ -1,22 +1,20 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es2023",
|
"target": "es2023",
|
||||||
"module": "NodeNext",
|
"module": "esnext",
|
||||||
"lib": [
|
"lib": [
|
||||||
"ES2023"
|
"ES2023",
|
||||||
|
"DOM"
|
||||||
],
|
],
|
||||||
"types": [
|
"types": [
|
||||||
"node",
|
|
||||||
"vite/client"
|
"vite/client"
|
||||||
],
|
],
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
/* Server + Vite middleware specific */
|
/* Bundler mode */
|
||||||
"moduleResolution": "NodeNext",
|
"moduleResolution": "bundler",
|
||||||
"esModuleInterop": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"allowJs": true,
|
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
/* Keep TS as a type checker only (no emit) when running via ts-node/vite) */
|
"verbatimModuleSyntax": true,
|
||||||
|
"moduleDetection": "force",
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
/* Linting */
|
/* Linting */
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
|
|
@ -25,7 +23,6 @@
|
||||||
"noFallthroughCasesInSwitch": true
|
"noFallthroughCasesInSwitch": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src",
|
"src"
|
||||||
"server"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue