prefer top-level type imports #1660
juliusmarminge
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
I chose to use inline type imports in these cases because it reduces the number of changes to the code. I might prefer not to add options to the rule. Why do you prefer top-level types? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's your opinion on adding a configuration option to the useImportType rule?
Basically:
This could also be paired with the import sorter rule to always sort
import type
higher/lower than regularimport
statements:Beta Was this translation helpful? Give feedback.
All reactions