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:
@@ -4,7 +4,7 @@
|
||||
"target": "ES2023",
|
||||
"lib": ["ES2023"],
|
||||
"module": "ESNext",
|
||||
"types": ["node"],
|
||||
"types": ["node", "vitest/globals"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
|
||||
Reference in New Issue
Block a user