CRA 不认识 as? Parsing error: Unexpected token, expected “,“
npx create-react-app my-app --template typescript
ESLint:
Parsing error: Unexpected token, expected ","
module.exports = {
extends: ['react-app', 'react-app/jest'],
plugins: ['prettier'],
parser: 'babel-eslint',
rules: {
'prettier/prett..
原创
2020-12-09 21:36:14 ·
3916 阅读 ·
0 评论