Skip to content

Instantly share code, notes, and snippets.

@fepelipe
Last active October 5, 2023 20:27
Show Gist options
  • Select an option

  • Save fepelipe/7a98a97708c6391eabbd31ccddfe6fd2 to your computer and use it in GitHub Desktop.

Select an option

Save fepelipe/7a98a97708c6391eabbd31ccddfe6fd2 to your computer and use it in GitHub Desktop.
Init React app with Typescript
echo "Name your React/Typescript app:"
read REACT-TS-APP-NAME
yarn create react-app $REACT-TS-APP-NAME --template typescript
cd $REACT-TS-APP-NAME
yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint
yarn start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment