Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export default #7

Closed
AdrienLemaire opened this issue Feb 26, 2021 · 3 comments
Closed

export default #7

AdrienLemaire opened this issue Feb 26, 2021 · 3 comments

Comments

@AdrienLemaire
Copy link
Contributor

Can we export default when setting isModule to true ?

export type ClassNames =
   ...
export default ClassNames;

For context, I was using postcss-ts-classnames with tailwindcss-classnames, but for some reason, @muhammadsammy removed the possibility to import a type by name in muhammadsammy/tailwindcss-classnames#66, and now expects the file to export a default type.

@esamattis
Copy link
Owner

Happy to accept an option like "exportAsDefault" as a pr 👍

@AdrienLemaire
Copy link
Contributor Author

@esamattis done #8. Can we get this merged this quickly ? ❤️

@esamattis
Copy link
Owner

Closed by #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants