mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Make callback required
This commit is contained in:
1 parent
234ca8dab0
commit
95d827df4b
1 file changed
+1
-1
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user