TypeScript 3.7.2 - Support for the experimental syntax 'optionalChaining' isn't currently enabled
This sounds like you are using an older version of create-react-app.
Versions earlier than v3.3 don't support optionalChaining in the babel config it uses.
Support was added in CRA v3.3. See other answers for how to upgrade.
Solved with a release of the CRA v3.3.0. If someone still has same error as in the title make sure you've upgraded react-scripts
package.