Skip to content

Prefer default imports over import = when auto-fixing with esModuleInterop being on #32521

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

Closed
wants to merge 1 commit into from

Conversation

orta
Copy link
Contributor

@orta orta commented Jul 23, 2019

Fixes #29038 by short-circuiting the import equals with a default instead.

@orta orta requested a review from weswigham July 23, 2019 13:08
@orta
Copy link
Contributor Author

orta commented Jul 23, 2019

Chatted with @andrewbranch and we consider this a dupe of #32150 - so I'm closing, as that's got more nuance

@orta orta closed this Jul 23, 2019
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.

VSCode mixes import and require syntaxes on auto-import
1 participant