Typescript
Add @babel/preset-typescript
to your .babelrc
file.
After you have this, run the command
If you received complaints about SyntaxError: Unexpected identifier
, then try to add @babel/preset-env
to your presets
list after installing it.
npm install --save-dev @babel/preset-env
Last updated