From 55b49a69cf2267eb39b2b506aed5a93b51d5d528 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期四, 29 二月 2024 13:51:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- types/env.d.ts | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/types/env.d.ts b/types/env.d.ts index 4af4bfd..2466134 100644 --- a/types/env.d.ts +++ b/types/env.d.ts @@ -1,8 +1,6 @@ -/// <reference types="vite/client" /> - declare module "*.vue" { - import type { DefineComponent } from "vue"; - // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types - const component: DefineComponent<{}, {}, any>; - export default component; + import { defineComponent } from "vue"; + const Component: ReturnType<typeof defineComponent>; + export default Component; } + -- Gitblit v1.8.0