build(ui): add vite types to tsconfig

This commit is contained in:
psychedelicious 2024-08-16 18:56:04 +10:00
parent 137b810669
commit d4b0dbce49

View File

@ -3,6 +3,7 @@
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"types": ["vite/client"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
@ -29,7 +30,8 @@
"references": [{ "path": "./tsconfig.node.json" }],
"ts-node": {
"compilerOptions": {
"jsx": "preserve"
"jsx": "preserve",
"types": ["vite/client"]
},
"esm": true
}