Skip to content

Conversation

Vilkku
Copy link
Contributor

@Vilkku Vilkku commented Feb 2, 2018

This is a fix for #123. Potentially this could be made more generic by checking path.parentPath.value.type and check if it's CallExpression or something else, but in order to avoid potential false positives I decided to just make the fix for this specific case.

Comments welcome! This issue was preventing us from converting some of our classes, and I would be happy if this issue could be resolved and potentially help others.

@threepointone threepointone merged commit dda87a5 into reactjs:master Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants