fix(01-02): resolve TypeScript build errors for production build

- Fix palette.test.ts: use type-only import for CategoryType (verbatimModuleSyntax)
- Fix vite.config.ts: import defineConfig from vitest/config for test property support
- Fix tsconfig.node.json: add vitest/globals to types array
- Fix AvailableBalance.tsx: split typed array and filter to preserve CategoryType literal
This commit is contained in:
2026-03-11 21:00:24 +01:00
parent 07041aed34
commit 90a15c20ce
4 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
"target": "ES2023",
"lib": ["ES2023"],
"module": "ESNext",
"types": ["node"],
"types": ["node", "vitest/globals"],
"skipLibCheck": true,
/* Bundler mode */