From 4ea6a12d204d41f74307f5c68be50b36821546e9 Mon Sep 17 00:00:00 2001 From: jonny Date: Mon, 5 Jul 2021 16:26:29 +0200 Subject: [PATCH] cast callback --- front/src/Api/IframeListener.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/front/src/Api/IframeListener.ts b/front/src/Api/IframeListener.ts index df9596c1..52dc2c4c 100644 --- a/front/src/Api/IframeListener.ts +++ b/front/src/Api/IframeListener.ts @@ -436,8 +436,7 @@ class IframeListener { callback: AnswererCallback, typeChecker?: Guard ): void { - //@ts-ignore - this.answerers[key] = callback; + this.answerers[key] = callback as never; } public unregisterAnswerer(key: keyof IframeQueryMap): void {