[gapi.auth2] mark a parameter as optional

According to the [documentation][], this parameter is optional.

[documentation]: https://developers.google.com/identity/sign-in/web/reference#googleauthgrantofflineaccessoptions
This commit is contained in:
Franklin Yu
2017-07-04 18:14:11 -04:00
parent 9a08e2ca2c
commit dd09ab28f3

View File

@@ -47,7 +47,7 @@ declare namespace gapi.auth2 {
/**
* Get permission from the user to access the specified scopes offline.
*/
grantOfflineAccess(options: {
grantOfflineAccess(options?: {
scope?: string;
prompt?: "select_account" | "consent";
app_package_name?: string;