This commit is contained in:
tamaina 2021-09-05 23:55:01 +09:00
parent 987c98faec
commit 225805da8a

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;
}