mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-05 05:04:26 +00:00
missing global functions setImmediate and clearImmediate,
see documentation at http://nodejs.org/api/timers.html
This commit is contained in:
2
node/node.d.ts
vendored
2
node/node.d.ts
vendored
@@ -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