Merge pull request #2185 from domesticmouse/patch-2

Making gapi.auth.authorize accept string|array
This commit is contained in:
Masahiro Wakame
2014-05-13 14:05:06 +09:00
+1 -1
View File
@@ -48,7 +48,7 @@ declare module gapi.auth {
/**
* The auth scope or scopes to authorize. Auth scopes for individual APIs can be found in their documentation.
*/
scope?: any[]
scope?: any
}, callback: (token: GoogleApiOAuth2TokenObject) => any): void;
/**
* Initializes the authorization feature. Call this when the client loads to prevent popup blockers from blocking the auth window on gapi.auth.authorize calls.