You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is rather importing from the same source 2 times than importing a flow type. I already have a workaround in place to fix the current behaviour, will make a PR after #1542 is merged.
When type import goes before default import from the same file, the default export is marked as unused:
It works OK if I change the imports order:
Repro: https://github.com/Hypnosphi/no-unused-modules-repro
The text was updated successfully, but these errors were encountered: