运行时出现以下错误jscodeshift -t ./react-codemod/transforms/React-PropTypes-to-prop-types.js ./src
Transformation error (This experimental syntax requires enabling one of the following parser plugin(s): 'decorators-legacy, decorators' (13:0))
我用谷歌搜索了一下,发现我必须设置--parser-config
jscodeshift。我需要一个可以解决上述错误的示例 json 文件的帮助。