From 768603987452fce54b671bd3144124b8af41c4eb Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 10 Jul 2020 18:32:43 +0100 Subject: [PATCH] Work around timeout types for now --- src/RebrandListener.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RebrandListener.tsx b/src/RebrandListener.tsx index 3cdc323f52..077ff7a2f3 100644 --- a/src/RebrandListener.tsx +++ b/src/RebrandListener.tsx @@ -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; } } }