node: Declare global.gc()

This function is available with the node flag --expose-gc
This commit is contained in:
Guilherme Bernal
2015-05-08 15:07:22 -03:00
parent b3834d886a
commit 9d44f705de
+1
View File
@@ -252,6 +252,7 @@ declare module NodeJS {
setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer;
undefined: typeof undefined;
unescape: (str: string) => string;
gc: () => void;
}
export interface Timer {