From 44479d16ee833cf4fe9deffc7a1b2a78b814afc9 Mon Sep 17 00:00:00 2001 From: "Zhuohuan LI (CARPE DIEM)" Date: Wed, 2 Nov 2016 17:53:48 +0000 Subject: [PATCH] fix strange ts error in docker: tsc think setTimtout return number? #66 --- src/io.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.ts b/src/io.ts index 6753c4c3..0d28b58f 100644 --- a/src/io.ts +++ b/src/io.ts @@ -299,7 +299,7 @@ export class Io { this.reconnectTimer = setTimeout(_ => { this.reconnectTimer = null this.initWebSocket() - }, this.reconnectTimeout) + }, this.reconnectTimeout) as any as NodeJS.Timer } private initEventHook() { -- GitLab