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

fix(transform-typescript): do not elide injected imports #7833

Conversation

jeysal
Copy link
Contributor

@jeysal jeysal commented Apr 28, 2018

Q                       A
Fixed Issues? Fixes #7592
Patch: Bug Fix? yes
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR
Any Dependency Changes?
License MIT

see #7830 (comment)

@babel-bot
Copy link
Collaborator

babel-bot commented Apr 28, 2018

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/7799/

@jeysal
Copy link
Contributor Author

jeysal commented Apr 28, 2018

will take a look at failing tests asap

@jeysal jeysal force-pushed the transform-typescript-do-not-elide-injected-import branch from 0922811 to 86516eb Compare April 29, 2018 12:38
@jeysal
Copy link
Contributor Author

jeysal commented Apr 29, 2018

Fixed the tests on node 6 by removing ES2017 trailing commas from function calls in the test's plugin.js.
make lint does not catch this, but the file is now technically not formatted correctly according to the overrides in .prettierrc. Do we do anything about this?

@jeysal
Copy link
Contributor Author

jeysal commented May 4, 2018

@loganfsmyth mind reviewing this (or delegating to someone else)? I think this is the solution you had in mind.

@jeysal
Copy link
Contributor Author

jeysal commented May 9, 2018

Anyone else? @nicolo-ribaudo?

@hzoo hzoo requested a review from a user May 9, 2018 10:24
@existentialism existentialism added PR: Bug Fix 🐛 A type of pull request used for our changelog categories area: typescript labels May 9, 2018
@existentialism existentialism merged commit fa1547d into babel:master May 9, 2018
@jeysal jeysal deleted the transform-typescript-do-not-elide-injected-import branch May 9, 2018 15:37
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: typescript outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extremely odd interaction of scope, filename and preset-typescript
3 participants