Skip to content

Commit 27bbd81

Browse files
Merge pull request #2974 from BoussonKarel/master
Fix #2973 Return type of SessionService.invalidate is wrong
2 parents 37dd819 + 9990745 commit 27bbd81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ember-simple-auth/src/services/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type InternalSessionMock<Data> = {
3333
attemptedTransition: null;
3434
on: (event: 'authenticationSucceeded' | 'invalidationSucceeded', cb: () => void) => void;
3535
authenticate: (authenticator: string, ...args: any[]) => Promise<void>;
36-
invalidate: (...args: any[]) => void;
36+
invalidate: (...args: any[]) => Promise<void>;
3737
requireAuthentication: (transition: Transition, routeOrCallback: RouteOrCallback) => boolean;
3838
prohibitAuthentication: (routeOrCallback: RouteOrCallback) => boolean;
3939
restore: () => Promise<void>;

0 commit comments

Comments
 (0)