Skip to content

Fix bug: Converting 'module.exports = {...}' to ES6 doesn't introduce a default export #24141

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
1 commit merged into from
May 15, 2018

Conversation

ghost
Copy link

@ghost ghost commented May 15, 2018

Fixes #24107

refactorConvertToEs6Module_export_object.ts is now a test case for this; updated verify.codeFix to assert that we don't get any text changes we weren't testing for.

@ghost ghost requested a review from amcasey May 15, 2018 21:57
@ghost ghost force-pushed the moduleDotExportsEqualsObject branch from 269dce5 to 5ee2c04 Compare May 15, 2018 21:57
@ghost ghost merged commit b4ca23d into master May 15, 2018
@ghost ghost deleted the moduleDotExportsEqualsObject branch May 15, 2018 23:23
sandersn pushed a commit that referenced this pull request May 16, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant