fix: AwarenessChangeEvent type

This commit is contained in:
Tom Moor
2023-05-22 23:10:05 -04:00
parent bb0cd891bd
commit e8b9a1b650
3 changed files with 10 additions and 10 deletions

View File

@@ -204,5 +204,5 @@ export type WebsocketEvent =
| WebsocketEntitiesEvent;
export type AwarenessChangeEvent = {
states: { user: { id: string }; cursor: any; scrollY: number | undefined }[];
states: { user?: { id: string }; cursor: any; scrollY: number | undefined }[];
};