11 lines
258 B
TypeScript
11 lines
258 B
TypeScript
declare const _default: {
|
|
new (url: string | URL, protocols?: string | string[]): WebSocket;
|
|
prototype: WebSocket;
|
|
readonly CONNECTING: 0;
|
|
readonly OPEN: 1;
|
|
readonly CLOSING: 2;
|
|
readonly CLOSED: 3;
|
|
};
|
|
|
|
export { _default as default };
|