@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?
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.
-
-
Alternatively, you can disable the inspection for that specific import: put a cursor in the import path, press Alt-Enter, then arrow Right and select Suppress for Statement.
-
We will also work on a new inspection that will check for the cyclic imports. Stay tuned!
- 2 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.
In this case, it would be really great if you could share an example with us.