Added Error to support stack

This commit is contained in:
psnider
2015-09-16 00:42:38 +00:00
parent 52b0ea5c97
commit 2aace82653
+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.