Merge pull request #5838 from psnider/node_Error

Added Error to support stack
This commit is contained in:
Masahiro Wakame
2015-09-20 18:37:45 +09:00
+5
View File
@@ -9,6 +9,11 @@
* *
************************************************/
interface Error {
stack?: string;
}
// compat for TypeScript 1.5.3
// if you use with --target es3 or --target es5 and use below definitions,
// use the lib.es6.d.ts that is bundled with TypeScript 1.5.3.