1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-22 19:23:24 +00:00

make logout callback async

This commit is contained in:
Kyle Spearrin
2018-05-15 23:40:15 -04:00
parent 7112911cb8
commit 799c90af17
4 changed files with 5 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ import { TokenService } from '../abstractions/token.service';
export class NodeApiService extends ApiService {
constructor(tokenService: TokenService, platformUtilsService: PlatformUtilsService,
logoutCallback: Function) {
logoutCallback: (expired: boolean) => Promise<void>) {
super(tokenService, platformUtilsService, logoutCallback);
}
}