mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Work around timeout types for now
This commit is contained in:
parent
063e6e3e9c
commit
7686039874
@ -163,7 +163,8 @@ export default class RebrandListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this._reshowTimer && this.nagAgainAt) {
|
if (!this._reshowTimer && this.nagAgainAt) {
|
||||||
this._reshowTimer = setTimeout(this.onNagTimerFired, (this.nagAgainAt - Date.now()) + 100);
|
// XXX: Our build system picks up NodeJS bindings when we need browser bindings.
|
||||||
|
this._reshowTimer = setTimeout(this.onNagTimerFired, (this.nagAgainAt - Date.now()) + 100) as any as number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user