How can we emit same name exports?
visualcookie opened this issue · comments
Dean (딘) commented
Motivation
Currently in our projects we have a lot of issues where we name the parent element of a component Wrapper
and export it as export const Wrapper
. When trying to import the component with an auto-importer, you have to search for the correct import in some IDEs (VSCode).
Question
How can we emit same name exports? My idea would be to name styles or types like StyledButton
for a button and the type for it ButtonType
.