Skip to content

Commit

Permalink
Add typing for answerWatchers
Browse files Browse the repository at this point in the history
One more typing fix
  • Loading branch information
knowuh committed Mar 15, 2021
1 parent 60f7956 commit 4a387e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/storage-facade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class DexieStorageProvider implements IStorageInterface {
if (!questionAnswerWatchers) {
return;
}
questionAnswerWatchers.forEach((callback:any) => {
questionAnswerWatchers.forEach((callback:IAnswerWatcherCallback) => {
callback(docToWrappedAnswer(answer));
});
}
Expand Down

0 comments on commit 4a387e0

Please sign in to comment.