From d79ce11fcd47db138764557d214f4ea2169fb90a Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 20 六月 2025 18:05:38 +0800 Subject: [PATCH] 维护 --- types/global.d.ts | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/types/global.d.ts b/types/global.d.ts index eebe9bb..98f9b03 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -1,5 +1,11 @@ export {} +import type * as RoomApi from '@/api/ecg/room' + declare global { + interface Window { + RoomApi: typeof RoomApi // 鎸傝浇 API 鍒� window + __RoomApi: typeof RoomApi + } interface Fn<T = any> { (...arg: T[]): T } -- Gitblit v1.9.3