From 4bd42cf0710fe7669024c5a26c75112ab297935a Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 12 Sep 2021 01:31:48 +0900 Subject: [PATCH] add type --- src/server/api/stream/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/stream/index.ts b/src/server/api/stream/index.ts index ba0a8f6e25..5f1aaf0383 100644 --- a/src/server/api/stream/index.ts +++ b/src/server/api/stream/index.ts @@ -248,7 +248,7 @@ export default class Connection { } @autobind - private async onNoteStreamMessage(data: any) { + private async onNoteStreamMessage(data: StreamMessages['note']['spec']) { this.sendMessageToWs('noteUpdated', { id: data.body.id, type: data.type,