From a986a8d6fb5e44f7044469f5f420ce0d7b5bf235 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 26 十一月 2025 11:36:02 +0800
Subject: [PATCH] 11
---
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