The definitions are identical in the `tsconfig.json` files located in the Application projects. When I load the workspace in IDEA, I'm only able to have Typescript module aliases work in one of the Application projects. I have an Angular workspace with 4 projects, 2 Application projects and 2 Library projects (see tree below). None of the solutions presented seem to work but I do believe I'm representative of some of the other Angular posts about this. I have an Angular 9 project that I started around Angular 7 and I believe I have had this problem persistently through all the upgrades and I have found no solution. command would take to finish - and maybe that's what TS service is running behind the scenes anyway. It may take as much as the standalone npx tsc -noEmit -p. So be aware that after tweaking your tsconfig.*.json file - the file inspection updates in Webstorm take effect only after some time and NOT immediately. If I was to update file, for example changing compilerOptions.skipLibCheck = false, Webstorm would pick up the change after a long-ish delay - as long tsc would take to do all the type checks in your project. I am running Webstorm on Windows 10 with WSL - this is what my WS Typescript configuration looks like: In this file I also have extra "include" paths for test files - which are not in the main tsconfig.json as I don't want *.test.js files to get compiled into main bundle etc. eslintrc.js - and this file extends the main tsconfig.json file:
0 Comments
Leave a Reply. |