Allow parsing of TypeScript syntax
See our website @babel/plugin-syntax-typescript for more information.
Using npm:
npm install --save-dev @babel/plugin-syntax-typescript
or using yarn:
yarn add @babel/plugin-syntax-typescript --dev