ethers.js/packages/providers/thirdparty.d.ts

11 lines
232 B
TypeScript
Raw Normal View History

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