I am facing an issue with installing typings for Angular and I need some guidance on how to resolve the error. Any suggestions or assistance would be greatly appreciated!
Below is the error message that I encountered:
ERROR in C:\Users\test\Desktop\ProjectTemplate\ProjectTemplate.Web\Content\node_modules\@types\angularjs\index.d.ts (1839,15): error TS2430: Interface 'IAugmentedJQuery' incorrectly extends interface 'JQuery'. Types of property 'find' are incompatible. Type '{ (selector: string): IAugmentedJQuery; (element: any): IAugmentedJQuery; (obj: JQuery): this; (selector: st...'. Type 'IAugmentedJQuery' is not assignable to type 'this'.
And here is my package.json contents:
{
"name": "projecttemplate",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "webpack --config configs/webpack.config.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/angular": "^1.6.29",
"@types/angularjs": "^1.5.14-alpha",
"@types/jquery": "^3.2.11",
"css-loader": "^0.28.5",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.11.2",
"node-sass": "^4.5.3",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"ts-loader": "^2.3.3",
"typescript": "^2.4.2",
"typings": "^2.1.1",
"webpack": "^3.5.5"
},
"dependencies": {
"angular": "^1.6.6",
"angular-route": "^1.6.6",
"angular-ui-bootstrap": "^2.5.0",
"bootstrap": "^3.3.7",
"font-awesome": "^4.7.0",
"jquery": "^3.2.1"
}
}