mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Used correct types from websocket callbacks in 'jquery-jsonrpcclient'.
This commit is contained in:
1 parent
e5a57c9bbb
commit
74528bc334
1 file changed
+4
-4
+4
-4
@@ -9,10 +9,10 @@ interface JsonRpcClientOptions extends JQueryAjaxSettings {
|
||||
ajaxUrl?: string;
|
||||
headers?: {[key:string]: any};
|
||||
socketUrl?: string;
|
||||
onmessage?: () => void;
|
||||
onopen?: () => void;
|
||||
onclose?: () => void;
|
||||
onerror?: () => void;
|
||||
onmessage?: (ev: MessageEvent) => void;
|
||||
onopen?: (ev: Event) => void;
|
||||
onclose?: (ev: CloseEvent) => void;
|
||||
onerror?: (ev: Event) => void;
|
||||
getSockect?: (onmessageCb: () => void) => WebSocket;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user