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