Use window.setTimeout to avoid TS conflict with Node's setTimeout

This commit is contained in:
Kevin Schmidt
2018-10-01 15:41:03 -06:00
parent d62dd67942
commit b6846d6b3d
3 changed files with 4 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ class TouchSource extends EventSource {
* @private
*/
resetClickCount_() {
this.resetId_ = setTimeout(
this.resetId_ = window.setTimeout(
this.resetClickCountHandler_.bind(this),
CLICK_COUNT_TIMEOUT);
}