Work around timeout types for now

This commit is contained in:
J. Ryan Stinnett 2020-07-10 18:32:43 +01:00
parent 063e6e3e9c
commit 7686039874

View File

@ -163,7 +163,8 @@ export default class RebrandListener {
}
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;
}
}
}