cast callback
This commit is contained in:
parent
9bcdc9ba33
commit
4ea6a12d20
@ -436,8 +436,7 @@ class IframeListener {
|
||||
callback: AnswererCallback<T>,
|
||||
typeChecker?: Guard
|
||||
): void {
|
||||
//@ts-ignore
|
||||
this.answerers[key] = callback;
|
||||
this.answerers[key] = callback as never;
|
||||
}
|
||||
|
||||
public unregisterAnswerer(key: keyof IframeQueryMap): void {
|
||||
|
Loading…
Reference in New Issue
Block a user