Skip to content

Commit 838ba3d

Browse files
committed
🏷️ (options): Add return type to OptionPage.getStatsFromStorage
1 parent 4faa5a3 commit 838ba3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/OptionPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ export default class OptionPage {
10811081
this.hide(notificationPanel);
10821082
}
10831083

1084-
async getStatsFromStorage() {
1084+
async getStatsFromStorage(): Promise<Statistics> {
10851085
const { stats }: { stats: Statistics } = (await this.Class.Config.getLocalStorage({ stats: { words: {} } })) as any;
10861086
return stats;
10871087
}

0 commit comments

Comments
 (0)