Struggling with coding in TypeScript using the Angular library, every time I attempt to compile I am hit with a whopping 482 errors, majority of them being "TS 2304 Cannot find a name 'Promise'". I'm at my wit's end trying to resolve this issue. Interestingly, when I uninstall the Angular library, it compiles error-free.
I initially installed Angular 1.5 which is compatible with Angular.d.ts that requires Angular 1.4+, so compatibility isn't the problem here. Despite multiple reinstallation attempts, the issue persists.
To address angular.d.ts I utilized a NuGet package called angularjs.typescript.definitelytyped. My development environment consists of Visual Studio 2015 Update 1 along with all the latest updates available up to today.