mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
fix - gapi test failure
This commit is contained in:
770
gapi.youtube/gapi.youtube.d.ts
vendored
770
gapi.youtube/gapi.youtube.d.ts
vendored
File diff suppressed because it is too large
Load Diff
6
gapi/gapi.d.ts
vendored
6
gapi/gapi.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user