mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
refactor: fix type
This commit is contained in:
parent
645cf109e9
commit
1dc06f7ad3
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ export default class Connection {
|
|||
* クライアントからメッセージ受信時
|
||||
*/
|
||||
@autobind
|
||||
private async onWsConnectionMessage(data: websocket.IMessage) {
|
||||
private async onWsConnectionMessage(data: websocket.Message) {
|
||||
if (data.type !== 'utf8') return;
|
||||
if (data.utf8Data == null) return;
|
||||
|
||||
let obj: Record<string, any>;
|
||||
|
|
Loading…
Reference in a new issue