From 8883880c64c95541cd94ea87b7305188b3739404 Mon Sep 17 00:00:00 2001 From: Maksim Karelov Date: Tue, 7 Apr 2015 19:11:22 +0300 Subject: [PATCH] Fixed files naming --- .../jquery-jsonrpcclient-tests.ts | 0 .../jquery-jsonrpcclient.d.ts | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename jquery.jsonrpcclient/jquery.jsonrpcclient-tests.ts => jquery-jsonrpcclient/jquery-jsonrpcclient-tests.ts (100%) rename jquery.jsonrpcclient/jquery.jsonrpcclient.d.ts => jquery-jsonrpcclient/jquery-jsonrpcclient.d.ts (94%) diff --git a/jquery.jsonrpcclient/jquery.jsonrpcclient-tests.ts b/jquery-jsonrpcclient/jquery-jsonrpcclient-tests.ts similarity index 100% rename from jquery.jsonrpcclient/jquery.jsonrpcclient-tests.ts rename to jquery-jsonrpcclient/jquery-jsonrpcclient-tests.ts diff --git a/jquery.jsonrpcclient/jquery.jsonrpcclient.d.ts b/jquery-jsonrpcclient/jquery-jsonrpcclient.d.ts similarity index 94% rename from jquery.jsonrpcclient/jquery.jsonrpcclient.d.ts rename to jquery-jsonrpcclient/jquery-jsonrpcclient.d.ts index 2965f26f1..de008dc09 100644 --- a/jquery.jsonrpcclient/jquery.jsonrpcclient.d.ts +++ b/jquery-jsonrpcclient/jquery-jsonrpcclient.d.ts @@ -28,7 +28,7 @@ interface JsonRpcClient { * * @return {object} Returns the deferred object that $.ajax returns or {null} for websockets */ - call(method: string, params: Object | Array, successCb?: (result: any) => void, errorCb?: (result: any) => void): JQueryDeferred; + call(method: string, params: Object | Array, successCb: (result: any) => void, errorCb: (result: any) => void): JQueryDeferred; /** * Notify sends a command to the server that won't need a response. In http, there is probably @@ -62,7 +62,7 @@ interface JsonRpcClient { * Note, that batch calls should always get an overall success, and the * only error */ - batch(callback: (batch: JsonRpcClient) => void, allDoneCb?: (result: any) => void, errorCb?: (error: any) => void): void; + batch(callback: (batch: JsonRpcClient) => void, allDoneCb: (result: any) => void, errorCb: (error: any) => void): void; } interface JsonRpcClientFactory {