After updating angular to the latest version 9.0.0-next.4
, I am encountering a warning message even though I am not using routing in my project. How can I get rid of this warning?
A warning is being displayed in
as part of the TypeScript compilation but it's unused. Make sure to add only entry points to the 'files' or 'include' properties in your tsconfig.src/war/angular/src/app/app-routing.module.ts
package.json
"dependencies": {
"@angular/animations": "^9.0.0-next.4",
"@angular/cdk": "^8.1.4",
"@angular/common": "^9.0.0-next.4",
"@angular/compiler": "^9.0.0-next.4",
"@angular/core": "^9.0.0-next.4",
"@angular/forms": "^9.0.0-next.4",
"@angular/material": "^8.1.4",
... (remaining content unchanged)
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.2",
... (remaining content unchanged)
}
tsconfig.json
{
"compileOnSave": false,
... (remaining content unchanged)
"lib": [
"es2018",
"dom"
]
}
}