Skip to content

Commit

Permalink
Fix UserManager.signoutCallback typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Khodabakhsh committed Aug 29, 2020
1 parent b241a97 commit e48c968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/oidc-client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class UserManager extends OidcClient {
signinCallback(url?: string): Promise<User>;

/** Proxy to Popup and Redirect callbacks */
signoutCallback(url?: string, keepWindowOpen?: boolean): Promise<SignoutResponse | void>;
signoutCallback(url?: string, keepWindowOpen?: boolean): Promise<SignoutResponse | undefined>;

/** Query OP for user's current signin status */
querySessionStatus(args?: any): Promise<SessionStatus>;
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class UserManager extends OidcClient {
signinCallback(url?: string): Promise<User>;

/** Proxy to Popup and Redirect callbacks */
signoutCallback(url?: string, keepWindowOpen?: boolean): Promise<SignoutResponse | void>;
signoutCallback(url?: string, keepWindowOpen?: boolean): Promise<SignoutResponse | undefined>;

/** Query OP for user's current signin status */
querySessionStatus(args?: any): Promise<SessionStatus>;
Expand Down

0 comments on commit e48c968

Please sign in to comment.