fix: resolve TypeScript errors in vite.config.ts

- Install @types/node for node:path, node:process, node:url
- Import defineConfig from vitest/config for test config type
- Add types: ["node"] to tsconfig.json

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 13:28:05 -04:00
parent 4bf65458d0
commit 3eebe01d63
4 changed files with 21 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
"@sveltejs/vite-plugin-svelte": "^7.1.2",
"@tauri-apps/cli": "^2",
"@testing-library/svelte": "^5.2.8",
"@types/node": "^26.6.2",
"jsdom": "^26.1.0",
"svelte": "^5.56.3",
"svelte-check": "^4.6.0",