mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
missing global functions setImmediate and clearImmediate,
see documentation at http://nodejs.org/api/timers.html
This commit is contained in:
1 parent
564ee694b9
commit
63f3e198fe
1 file changed
+2
Vendored
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user