mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
[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:
2
types/gapi.auth2/index.d.ts
vendored
2
types/gapi.auth2/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user