Merge pull request #23612 from XavCamp/master

[gapi.auth2] Fix arg type in onFailure callback
This commit is contained in:
Daniel Rosenwasser
2018-02-15 20:14:02 -08:00
committed by GitHub

View File

@@ -21,7 +21,7 @@ declare namespace gapi.auth2 {
* Calls the onInit function when the GoogleAuth object is fully initialized, or calls the onFailure function if
* initialization fails.
*/
then(onInit: (googleAuth: GoogleAuth) => any, onFailure?: (reason: string) => any): any;
then(onInit: (googleAuth: GoogleAuth) => any, onFailure?: (reason: {error: string, details: string}) => any): any;
/**
* Signs in the user using the specified options.