We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeeb05c commit f25b087Copy full SHA for f25b087
lib/browser/websocket.ts
@@ -30,4 +30,5 @@ export function apply(_global: any) {
30
31
return proxySocket;
32
};
33
+ (<any>global).WebSocket.prototype = Object.create(WS.prototype, {constructor:{value: WebSocket}});
34
}
0 commit comments