Can create-react-app be used with TypeScript

Dave Ford picture Dave Ford · Apr 18, 2017 · Viewed 18.6k times · Source

Is it possible to use TypeScript with create-react-app? If so, how would you do it?

Answer

levito picture levito · Apr 19, 2017

You can do it like this:

create-react-app my-app --scripts-version=react-scripts-ts

See https://github.com/wmonk/create-react-app-typescript

No ejecting required for this.