Make callback required

This commit is contained in:
Kohei Hisakuni
2016-03-29 20:45:22 -07:00
parent 234ca8dab0
commit 95d827df4b
+1 -1
View File
@@ -141,7 +141,7 @@ declare namespace gapi.client {
* @param version The version of the API to load
* @param callback the function that is called once the API interface is loaded
*/
export function load(name: string, version: string, callback?: () => any): void;
export function load(name: string, version: string, callback: () => any): void;
/**
* Creates a HTTP request for making RESTful requests.
* An object encapsulating the various arguments for this method.