ethers.js/packages/providers/thirdparty.d.ts
2020-03-12 18:53:34 +01:00

11 lines
232 B
TypeScript

declare module "ws" {
export interface WebSocker {
send(): void;
onopen: () => void;
onmessage: (messageEvent: { target: any, type: string, data: string }) => void
}
export default WebSocket;
}