I Just updated angular to latest 9.0.0-next.4
. I am not using routing but suddenly after updating I keep seeing this warning. How Do I remove this warning
Check your main tsconfig.app.json
file.
and see whether you have following content inside,
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
},
"files": [
"src/main.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.d.ts"
]
}
Most likely, the lines to blame were this.
Add only entry points to the
files
orinclude
properties in your tsconfig.
So, remove these lines should you have on your tsconfig.app.json
. That's what the error is about :)
"exclude": [
"src/test.ts",
"**/*.spec.ts"
]
I hope this will help someone.
Thanks.