Skip to content

VariableDeclarator: don't rename ClassProperty #296

Merged
fkling merged 1 commit intofacebook:masterfrom
henryqdineen:renameTo-ClassProperty
Jan 16, 2019
Merged

VariableDeclarator: don't rename ClassProperty #296
fkling merged 1 commit intofacebook:masterfrom
henryqdineen:renameTo-ClassProperty

Conversation

@henryqdineen
Copy link
Contributor

renameTo would mistakenly rename ClassProperty nodes and this fixes that.

I have also noticed that when using bablyon parser we would need support for ignoring ObjectProperty, ObjectMethod and ClassMethod types. Would that make sense to add?

@fkling
Copy link
Contributor

fkling commented Jan 16, 2019

Would that make sense to add?

We probably have to, yes. But that can be a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants