We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37dd819 + 9990745 commit 27bbd81Copy full SHA for 27bbd81
1 file changed
packages/ember-simple-auth/src/services/session.ts
@@ -33,7 +33,7 @@ type InternalSessionMock<Data> = {
33
attemptedTransition: null;
34
on: (event: 'authenticationSucceeded' | 'invalidationSucceeded', cb: () => void) => void;
35
authenticate: (authenticator: string, ...args: any[]) => Promise<void>;
36
- invalidate: (...args: any[]) => void;
+ invalidate: (...args: any[]) => Promise<void>;
37
requireAuthentication: (transition: Transition, routeOrCallback: RouteOrCallback) => boolean;
38
prohibitAuthentication: (routeOrCallback: RouteOrCallback) => boolean;
39
restore: () => Promise<void>;
0 commit comments