mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix type error
This commit is contained in:
parent
c85fc06e51
commit
acac416455
@ -225,7 +225,7 @@ export class LiveSocket extends EventTarget {
|
||||
|
||||
if (
|
||||
this.webSocket &&
|
||||
[WebSocket.CONNECTING, WebSocket.OPEN].includes(this.webSocket.readyState)
|
||||
([WebSocket.CONNECTING, WebSocket.OPEN] as number[]).includes(this.webSocket.readyState)
|
||||
) {
|
||||
this.stop()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user