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 compatibility between typescript and jsx plugins in interface declarations #9058

Merged
merged 1 commit into from Nov 21, 2018

Conversation

danez
Copy link
Member

@danez danez commented Nov 21, 2018

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

Ensure we enable inType when parsing interfaces. There might be more cases like this with enums or abstract classes, but i couldn't find any broken cases easily.

@danez danez added PR: Bug Fix 🐛 A type of pull request used for our changelog categories area: typescript labels Nov 21, 2018
@babel-bot
Copy link
Collaborator

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

@nicolo-ribaudo
Copy link
Member

There might be more cases like this with enums or abstract classes, but i couldn't find any broken cases easily.

If someone finds other cases, we could use this PR as an exampe and mark them as beginner-friendly.

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.

[TypeScript] Generic callable interface is not parsed correctly
4 participants