mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update gapi.d.ts (#8944)
Adding the optional url param to gapi.client.load
This commit is contained in:
parent
cb2536e1af
commit
491ca65466
3
gapi/gapi.d.ts
vendored
3
gapi/gapi.d.ts
vendored
@ -140,8 +140,9 @@ declare namespace gapi.client {
|
||||
* @param name The name of the API to load.
|
||||
* @param version The version of the API to load
|
||||
* @param callback the function that is called once the API interface is loaded
|
||||
* @param url optional, the url of your app - if using Google's APIs, don't set it
|
||||
*/
|
||||
export function load(name: string, version: string, callback: () => any): void;
|
||||
export function load(name: string, version: string, callback: () => any, url?: string): void;
|
||||
/**
|
||||
* Creates a HTTP request for making RESTful requests.
|
||||
* An object encapsulating the various arguments for this method.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user