Revert "chore: build frontend and fix tsc config for vitest/config import"
This reverts commit 9bebb13b2c.
This commit is contained in:
7 files changed
+16
-17
No files matched your search
@@ -39,12 +39,12 @@ interface RenderOptions {
|
||||
runningApps?: string[];
|
||||
sinks?: AudioDevice[];
|
||||
sources?: AudioDevice[];
|
||||
onChange?: (knob: KnobConfig) => void;
|
||||
onChange?: ReturnType<typeof vi.fn>;
|
||||
}
|
||||
|
||||
function renderCard(
|
||||
overrides: Partial<KnobConfig> = {},
|
||||
{ runningApps, sinks, sources, onChange = vi.fn() as (knob: KnobConfig) => void }: RenderOptions = {},
|
||||
{ runningApps, sinks, sources, onChange = vi.fn() }: RenderOptions = {},
|
||||
) {
|
||||
const knob: KnobConfig = {
|
||||
action: 'app_volume',
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"target": "ES2023",
|
||||
"lib": ["ES2023"],
|
||||
"module": "ESNext",
|
||||
"types": ["node", "vitest/globals"],
|
||||
"types": ["node"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
/// <reference types="vitest" />
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
|
||||
Reference in new issue
Block a user