@phpstorm my IDE warns me about "Import can be shortened" (in ts). Shortened path would be the alias from the tsconfig.json; but this leads to circular dependencies on compile. Is there a way to only shorten paths not within the same package?
In this case, it would be really great if you could share an example with us.
-
-
See https://github.com/nehalist/ide-import-path …; the foo.service.ts in the library either causes a warning or a circular dependency, depending on how the BarService is imported.
-
Can you please try to reopen the file after you've changed the option to Never. However, it will disable custom paths for all automatically added imports.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.