cast callback
This commit is contained in:
parent
9bcdc9ba33
commit
4ea6a12d20
1 changed files with 1 additions and 2 deletions
|
@ -436,8 +436,7 @@ class IframeListener {
|
||||||
callback: AnswererCallback<T>,
|
callback: AnswererCallback<T>,
|
||||||
typeChecker?: Guard
|
typeChecker?: Guard
|
||||||
): void {
|
): void {
|
||||||
//@ts-ignore
|
this.answerers[key] = callback as never;
|
||||||
this.answerers[key] = callback;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public unregisterAnswerer(key: keyof IframeQueryMap): void {
|
public unregisterAnswerer(key: keyof IframeQueryMap): void {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue