Tag Archives: Promise

TypeScript Error: Cannot re-export name that is not defined in the module

When building an Angular2/TypeScript project in Visual Studio, you may encounter an error during the built: 1>node_modules\angular2\src\facade\promise.d.ts(2,10): error TS2661: Build: Cannot re-export name that is not defined in the module. The error i thrown on this line: static reject(obj: any, … Read More »»»

Posted in Angular2, TypeScript | Tagged , , , , , , , | Leave a comment