Open linddxxx opened 2 years ago
Away from computer so I haven't yet validated that this works, but try changing Property to ObjectProperty
I believe the node type got changed on babel 6.
https://github.com/babel/babel/blob/main/.github/CHANGELOG-v6.md
I'm getting weird behaviour that in the jscodeshift test utils the type is called a Property
, but when running the code for real it's ObjectProperty
, I wonder why
properties cannot find property b