Skip to content

Commit

Permalink
fix: compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Mar 3, 2021
1 parent 7f7b849 commit d6f7779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/services/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ export interface Bridge {
onMajorDataChange(): void;
onInitialDataLoad(): void;
onSearch(text?: string): void;
downloadBackup(): Promise<void>;
downloadBackup(): void | Promise<void>;
}
2 changes: 1 addition & 1 deletion app/assets/javascripts/ui_models/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class WebApplication extends SNApplication {
this.applicationElement.append(el);
}

downloadBackup(): Promise<void> {
downloadBackup(): void | Promise<void> {
return this.bridge.downloadBackup();
}

Expand Down

0 comments on commit d6f7779

Please sign in to comment.