Angular Aliases for paths in tsconfig.json shows red squiggles

I'm on the latest webstorm build along with angular 5.x. My problem is that when I added the baseUrl and paths to my tsconfig.json (not tsconfig.app.json) the imports, ng serve, ng build all work but there is now a red squiggle around my angular annotations and they say cannot resolve all parameters for component.

My question is how do I resolve this red squiggle?

2 comments

Might be caused by Angular language service (see https://github.com/angular/angular/issues/18484 and https://github.com/angular/angular/issues/16382)
Try disabling the service (in Settings | Languages & Frameworks | TypeScript, clear the Angular language service checkbox) - does the problem persist?

1

Yes this solved my problem thank you!

1

Please sign in to leave a comment.