install react typescirpt code example Example: create new react app using typescript create-react-app app-name --scripts-version=react-scripts-ts