1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

added missing return types to sync service

This commit is contained in:
Kyle Spearrin
2018-01-09 23:34:33 -05:00
parent 258178dc16
commit 808e74bcfb
2 changed files with 8 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
export interface SyncService {
syncInProgress: boolean;
getLastSync();
setLastSync(date: Date);
syncStarted();
syncCompleted(successfully: boolean);
fullSync(forceSync: boolean);
getLastSync(): Promise<Date>;
setLastSync(date: Date): Promise<any>;
syncStarted(): void;
syncCompleted(successfully: boolean): void;
fullSync(forceSync: boolean): Promise<boolean>;
}