From 491ca65466eb5b2bd50db01104cdaee3fbbed8ba Mon Sep 17 00:00:00 2001 From: henriquefm Date: Tue, 12 Apr 2016 12:38:22 -0300 Subject: [PATCH] Update gapi.d.ts (#8944) Adding the optional url param to gapi.client.load --- gapi/gapi.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gapi/gapi.d.ts b/gapi/gapi.d.ts index 9e4e603bb2..6d7e18a12e 100644 --- a/gapi/gapi.d.ts +++ b/gapi/gapi.d.ts @@ -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.