This commit is contained in:
tamaina 2021-09-05 23:55:01 +09:00
parent 987c98faec
commit 225805da8a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ interface StreamEvents {
}
interface AuthenticatedStreamEvents {
[key: UserEventName]: <T extends keyof UserEventTypes>(e: UserEvent<T>) => void;
[key: UserEventName]: (e: UserEvent) => void;
[key: `mainStream:${User['id']}`]: (e: { type: string; body: any }) => void;
[key: `driveStream:${User['id']}`]: (e: { type: string; body: any }) => void;
}