diff --git a/package.json b/package.json index b1017e2..50030db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mastergo/plugin-typings", - "version": "2.18.1", + "version": "2.18.4-beta.0", "description": "MasterGo插件API声明文件", "type": "module", "main": "", diff --git a/plugin.d.ts b/plugin.d.ts index a3aa6e6..dd5cfe9 100644 --- a/plugin.d.ts +++ b/plugin.d.ts @@ -315,6 +315,8 @@ declare global { readonly clientStorage: ClientStorageAPI + readonly WebSocket: WebSocketAPI + readonly currentUser: User | null readonly viewport: ViewportAPI @@ -496,6 +498,7 @@ declare global { importComponentByKeyAsync(ukey: string): Promise importComponentSetByKeyAsync(ukey: string): Promise importStyleByKeyAsync(ukey: string): Promise