From 4a387e08c38f635d0257798bfe3b817d2a248a02 Mon Sep 17 00:00:00 2001 From: Noah Paessel Date: Mon, 15 Mar 2021 14:46:39 -0400 Subject: [PATCH] Add typing for answerWatchers One more typing fix --- src/storage/storage-facade.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/storage-facade.ts b/src/storage/storage-facade.ts index 808a587d..fdfdc84b 100644 --- a/src/storage/storage-facade.ts +++ b/src/storage/storage-facade.ts @@ -224,7 +224,7 @@ class DexieStorageProvider implements IStorageInterface { if (!questionAnswerWatchers) { return; } - questionAnswerWatchers.forEach((callback:any) => { + questionAnswerWatchers.forEach((callback:IAnswerWatcherCallback) => { callback(docToWrappedAnswer(answer)); }); }