Skip to content

Export interface as default #1

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

Merged
merged 1 commit into from
May 2, 2019
Merged

Export interface as default #1

merged 1 commit into from
May 2, 2019

Conversation

tgroutars
Copy link

@tgroutars tgroutars commented May 2, 2019

When namedExport is set to false, the default export type should be exported as default

This lets us import css files with

import styles from './styles.css'

instead of

import * as styles from './styles.css'

@tgroutars tgroutars merged commit 048e5cf into master May 2, 2019
@tgroutars tgroutars deleted the export-default branch May 2, 2019 11:53
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

Successfully merging this pull request may close these issues.

1 participant