mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Merge pull request #23612 from XavCamp/master
[gapi.auth2] Fix arg type in onFailure callback
This commit is contained in:
2
types/gapi.auth2/index.d.ts
vendored
2
types/gapi.auth2/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user