mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
GoogleAuth.signIn return Promise<GoogleUser>
by the google reference for this client api, https://developers.google.com/api-client-library/javascript/reference/referencedocs#googleauthsigninoptions, GoogleAuth.signIn should return Promise<GoogleUser>.
This commit is contained in:
Vendored
+1
-1
@@ -27,7 +27,7 @@ declare namespace gapi.auth2 {
|
||||
* Signs in the user using the specified options.
|
||||
* If no option specified here, fallback to the options specified to gapi.auth2.init().
|
||||
*/
|
||||
signIn(options?: SigninOptions | SigninOptionsBuilder): any;
|
||||
signIn(options?: SigninOptions | SigninOptionsBuilder): Promise<GoogleUser>;
|
||||
|
||||
/**
|
||||
* Signs out all accounts from the application.
|
||||
|
||||
Reference in New Issue
Block a user