mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Make callback required
This commit is contained in:
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