2024-10-17 21:31:23 +03: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;
}