mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-29 12:40:34 +08:00
replace internal module to namespace
This commit is contained in:
1 parent
2f47c75835
commit
14fe4313f4
1139 files changed
+179639
-179639
No files matched your search
Vendored
+4
-4
@@ -30,10 +30,10 @@ interface GoogleApiOAuth2TokenObject {
|
||||
* Fix for #8215
|
||||
* https://github.com/DefinitelyTyped/DefinitelyTyped/issues/8215
|
||||
*
|
||||
* Usage example:
|
||||
* Usage example:
|
||||
* https://developers.google.com/identity/sign-in/web/session-state
|
||||
*/
|
||||
declare module gapi {
|
||||
declare namespace gapi {
|
||||
|
||||
/**
|
||||
* Pragmatically initialize gapi class member.
|
||||
@@ -42,7 +42,7 @@ declare module gapi {
|
||||
|
||||
}
|
||||
|
||||
declare module gapi.auth {
|
||||
declare namespace gapi.auth {
|
||||
/**
|
||||
* Initiates the OAuth 2.0 authorization process. The browser displays a popup window prompting the user authenticate and authorize. After the user authorizes, the popup closes and the callback function fires.
|
||||
* @param params A key/value map of parameters for the request. If the key is not one of the expected OAuth 2.0 parameters, it is added to the URI as a query parameter.
|
||||
@@ -126,7 +126,7 @@ declare module gapi.auth {
|
||||
export function signOut(): void;
|
||||
}
|
||||
|
||||
declare module gapi.client {
|
||||
declare namespace gapi.client {
|
||||
/**
|
||||
* Loads the client library interface to a particular API. The new API interface will be in the form gapi.client.api.collection.method.
|
||||
* @param name The name of the API to load.
|
||||
|
||||
Reference in new issue
Block a user