Got this while using jscodeshift and tracked it down to this project. I was able to fix this error with this PR. I added `PropertyDefinition` in this [PR](https://github.com/benjamn/ast-types/pull/727/files) from [there](https://github.com/facebook/flow/blob/fc180af0ab01a25cf6b64ef0d803072ff5da29a0/packages/flow-parser/test/custom_ast_types.js#L74) @benjamn you merged #514 maybe you can have a look here too π ?