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