Using WebStorm 2019.3.3
I have an Angular 9 project (typescript 3.7.5) with the following tsconfig.json contents:
and the following src/tsconfig.app.json file:
The project builds successfully, but WebStorm cannot resolve modules imported using the paths specified in src/tsconfig.app.json:
If I modify the includes/excludes blocks in src/tsconfig.app.json to the following, WebStorm will resolve the modules correctly:
However, this results in the following warning (multiple instances) during build (build is still successful):
WARNING in /<redacted>/src/app/shared/model/config-base-bo.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.
I believe the first configuration is correct, despite WebStorm not handling it as expected. Is there some other configuration I may be missing or have incorrect, or is this a bug?
I have deleted/recreated my project multiple times, and also invalidate caches/restarted repeatedly.