mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
refactor: fix type
This commit is contained in:
parent
077a3fd311
commit
1db0032d08
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…
Add table
Reference in a new issue