Skip to content

Commit 8883880

Browse files
committed
Fixed files naming
1 parent 8122696 commit 8883880

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery.jsonrpcclient/jquery.jsonrpcclient.d.ts jquery-jsonrpcclient/jquery-jsonrpcclient.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface JsonRpcClient {
2828
*
2929
* @return {object} Returns the deferred object that $.ajax returns or {null} for websockets
3030
*/
31-
call(method: string, params: Object | Array<any>, successCb?: (result: any) => void, errorCb?: (result: any) => void): JQueryDeferred<JQueryXHR>;
31+
call(method: string, params: Object | Array<any>, successCb: (result: any) => void, errorCb: (result: any) => void): JQueryDeferred<JQueryXHR>;
3232

3333
/**
3434
* Notify sends a command to the server that won't need a response. In http, there is probably
@@ -62,7 +62,7 @@ interface JsonRpcClient {
6262
* Note, that batch calls should always get an overall success, and the
6363
* only error
6464
*/
65-
batch(callback: (batch: JsonRpcClient) => void, allDoneCb?: (result: any) => void, errorCb?: (error: any) => void): void;
65+
batch(callback: (batch: JsonRpcClient) => void, allDoneCb: (result: any) => void, errorCb: (error: any) => void): void;
6666
}
6767

6868
interface JsonRpcClientFactory {

0 commit comments

Comments
 (0)