From 2949aeb55649cdc28fe5497a8edbab0717dcdf82 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Sun, 2 Jun 2024 23:59:03 +0800 Subject: [PATCH] fix: add config to tsconfig --- ui/common.ts | 1 - ui/tsconfig.node.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/common.ts b/ui/common.ts index db82747f4f..e15032b4b9 100644 --- a/ui/common.ts +++ b/ui/common.ts @@ -3,7 +3,6 @@ import {codecovVitePlugin} from "@codecov/vite-plugin"; import * as path from "node:path"; import react from "@vitejs/plugin-react-swc"; import {execSync} from "node:child_process"; -import type {InlineConfig} from 'vitest'; export function getSha(): string | undefined { const envs = process.env; diff --git a/ui/tsconfig.node.json b/ui/tsconfig.node.json index 3b7ab4d51e..e07dec0784 100644 --- a/ui/tsconfig.node.json +++ b/ui/tsconfig.node.json @@ -11,6 +11,7 @@ "vite.config.ts", "vite.config-explorer.ts", "vitest.config.ts", + "vitest.setup.ts", "common.ts", ] }