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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user