fix - gapi test failure

This commit is contained in:
Diullei
2013-09-05 22:23:47 -03:00
parent 982effcc47
commit 3508bde7e6
2 changed files with 388 additions and 388 deletions

File diff suppressed because it is too large Load Diff

6
gapi/gapi.d.ts vendored
View File

@@ -104,10 +104,10 @@ declare module gapi.client {
* If supplied, the request is executed immediately and no gapi.client.HttpRequest object is returned
*/
callback?: () => any;
}): HttpRequest;
}): HttpRequest<any>;
/**
* Creates an RPC Request directly. The method name and version identify the method to be executed and the RPC params are provided upon RPC creation.
* @param method The method to be executed.
* @param method The method to be executed.
* @param version The version of the API which defines the method to be executed. Defaults to v1
* @param rpcParams A key-value pair of the params to supply to this RPC
*/
@@ -187,7 +187,7 @@ declare module gapi.client {
* Similar to gapi.client.HttpRequest except this object encapsulates requests generated by registered methods.
*/
export class RpcRequest {
/**
* Executes the request and runs the supplied callback with the response.
* @param callback The callback function which executes when the request succeeds or fails.