add type
This commit is contained in:
parent
4ba33f24a5
commit
4bd42cf071
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue