mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Merged with upstream
This commit is contained in:
Vendored
+3
-6
@@ -68,6 +68,7 @@ interface HelloJSEvent extends HelloJSThenable<void> {
|
||||
}
|
||||
|
||||
|
||||
|
||||
interface HelloJSEventArgument {
|
||||
network: string;
|
||||
authResponse?: any;
|
||||
@@ -85,13 +86,9 @@ interface HelloJSStatic extends HelloJSEvent {
|
||||
init(servicesDef: { [id: string]: HelloJSServiceDef; }): void;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
interface HelloJSStaticNamed {
|
||||
login(option?: HelloJSLoginOptions, callback?: () => void): HelloJSThenable<void>;
|
||||
logout(callback?: () => void): HelloJSThenable<void>;
|
||||
login(option?: HelloJSLoginOptions, callback?: () => void): void;
|
||||
logout(callback?: () => void): void;
|
||||
getAuthResponse(): any;
|
||||
api(path?: string, method?: string, data?: any, callback?: (json?: any) => void): HelloJSStatic;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user