From 63f3e198fe689a448fb6491d7a8cd26ffdcb4cda Mon Sep 17 00:00:00 2001 From: karlw4 Date: Sat, 15 Jun 2013 14:51:05 +0200 Subject: [PATCH] missing global functions setImmediate and clearImmediate, see documentation at http://nodejs.org/api/timers.html --- node/node.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node/node.d.ts b/node/node.d.ts index 8aa2f7beb6..05208ed6fa 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -30,6 +30,8 @@ declare function setTimeout(callback: () => void , ms: number): any; declare function clearTimeout(timeoutId: any); declare function setInterval(callback: () => void , ms: number): any; declare function clearInterval(intervalId: any); +declare function setImmediate(callback: () => void ): any; +declare function clearImmediate(immediateId: any); declare var require: { (id: string): any;