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

@@ -1,5 +1,4 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import path from 'path'