score:0

Accepted answer
"babel": {
    "presets": [
      [
        "@babel/preset-react",
        {
          "flow": false,
          "typescript": true
        }
      ],
      [
        "@babel/preset-typescript",
        {
          "isTSX": true,
          "allExtensions": true
        }
      ]
    ],
    "plugins": ["@babel/plugin-syntax-class-properties", "react-auto-binding"]
  }
"devDependencies": {
    "@babel/cli": "^7.13.0",
    "@babel/plugin-syntax-class-properties": "^7.12.13",
    "@babel/preset-react": "^7.12.13",
    "@babel/preset-typescript": "^7.13.0"
  }

Related Query

More Query from same tag