Work around timeout types for now

pull/21833/head
J. Ryan Stinnett 2020-07-10 18:32:43 +01:00
parent 063e6e3e9c
commit 7686039874
1 changed files with 2 additions and 1 deletions

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;
}
}
}