You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In consumer code it is not possible to use a string in the event listener:
The only way is to import the the WebsocketEvent enum and use WebsocketEvent.open. IMO this should not be an enum at all, but an interface similar to the native WebSocketEventMap in TypeScript:
In consumer code it is not possible to use a string in the event listener:
The only way is to import the the
WebsocketEvent
enum and useWebsocketEvent.open
. IMO this should not be an enum at all, but an interface similar to the nativeWebSocketEventMap
in TypeScript:The text was updated successfully, but these errors were encountered: