Before casting a downvote without reason, kindly take a moment to check my profile or ask for clarification. Your input, suggestions, and edits are valuable in improving the question further. I've scoured Stack Overflow and searched extensively online, but I haven't been able to find a solution.
I'm attempting to develop an Angular app using TypeScript, but running into issues during the build process:
typings/angularjs/angular.d.ts:1419:15 - error TS2430: The interface
'IHttpPromise<T>'
incorrectly extends. The 'then' properties are incompatible.'IPromise<IHttpPromiseCallbackArg<T>>'
tsc --version message TS6029: Version 1.5.3
Here's what's specified in bower.json:
{
"name": "AngularTypeScript101",
"version": "1.0.0",
"dependencies": {
"angular": "~1.4.0",
"angular-route": "~1.4.0"
}
}
And this is the content of tsconfig.json:
{
"compilerOptions": {
"module": "none",
"target": "ES5"
},
"files": ["app.ts"]
}
I need to stick with Angular 1.4 for this project, and this also happens to be my first venture into TypeScript. Any assistance would be greatly appreciated.