it-tools/src/tools/websocket-tester/w-websocket-client.d.ts
2024-09-14 13:37:45 +02:00

14 lines
No EOL
383 B
TypeScript

declare module "w-websocket-client/dist/w-websocket-client.umd.js" {
export default class WSC {
constructor(options: {
url: string
token: string
open?: () => void
close?: () => void
message?: (data: any) => void
error?: (err: any) => void
});
send(data: any): void
}
}