例
const { hoge, ...props } = this.props;
...props のとこで Parsing error: Unexpected token ... になる
.esrintrc
"parserOptions": { "ecmaVersion": 6, "ecmaFeatures": { "experimentalObjectRestSpread": true } },
これで error 消える
牌語備忘録 -pygo
const { hoge, ...props } = this.props;
...props のとこで Parsing error: Unexpected token ... になる
"parserOptions": { "ecmaVersion": 6, "ecmaFeatures": { "experimentalObjectRestSpread": true } },
これで error 消える