This commit is contained in:
mamengke01
2021-02-06 16:14:43 +08:00
parent 8c6f9066ba
commit 4ff0facdc8
5 changed files with 98 additions and 45 deletions

View File

@@ -10,6 +10,7 @@ import { ConnectorRemote } from './connector/remote/connectorRemote';
import { SystimerRemote } from './systimer/remote/systimerRemote';
import { GuildRemote } from './chat/remote/guildRemote';
import { GMRemote } from './gm/remote/gmRemote';
import { RoleRemote } from './role/remote/roleRemote';
declare global {
interface UserRpc {
chat: {
@@ -28,6 +29,9 @@ declare global {
},
gm: {
gmRemote: RemoterClass<FrontendSession, GMRemote>;
},
role: {
roleRemote: RemoterClass<FrontendSession, RoleRemote>;
}
}
}