mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 16:05:41 +00:00
Migrate ReadyEventData to satisfies, part of #1577
This commit is contained in:
@@ -682,7 +682,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
||||
flags: 0,
|
||||
},
|
||||
game_relationships: [],
|
||||
} as ReadyEventData;
|
||||
} satisfies ReadyEventData;
|
||||
});
|
||||
|
||||
if (this.capabilities.has(Capabilities.FLAGS.AUTH_TOKEN_REFRESH) && tokenData.tokenVersion != CurrentTokenFormatVersion) {
|
||||
|
||||
Reference in New Issue
Block a user