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