Create-react-app: Typescript

Created on 19 Apr 2017  路  2Comments  路  Source: facebook/create-react-app

Add support for typescript

Most helpful comment

Hi! We're not quite ready to consider TypeScript yet (see #142 for updates).
We have yet to complete our Flow integration (which we will suggest as first option for type safety).

Additionally, there's really interesting things going on right now. See https://github.com/babel/babylon/issues/320 and https://github.com/babel/babylon/pull/444.
TypeScript may soon be parsed by Babylon (and compiled by Babel).
Microsoft has interest in seeing this happen, and are working on a WIP themselves, too.

This consideration is probably still a few months out. Sorry!

Though unendorsed by us, there is a fork of CRA which supports TypeScript. We cannot provide support if it doesn't work for you, but it should!

All 2 comments

Hi! We're not quite ready to consider TypeScript yet (see #142 for updates).
We have yet to complete our Flow integration (which we will suggest as first option for type safety).

Additionally, there's really interesting things going on right now. See https://github.com/babel/babylon/issues/320 and https://github.com/babel/babylon/pull/444.
TypeScript may soon be parsed by Babylon (and compiled by Babel).
Microsoft has interest in seeing this happen, and are working on a WIP themselves, too.

This consideration is probably still a few months out. Sorry!

Though unendorsed by us, there is a fork of CRA which supports TypeScript. We cannot provide support if it doesn't work for you, but it should!

TypeScript is now officially supported as of Create React App 2.1. Read the release notes to get started!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aranir picture Aranir  路  3Comments

jnachtigall picture jnachtigall  路  3Comments

adrice727 picture adrice727  路  3Comments

dualcnhq picture dualcnhq  路  3Comments

fson picture fson  路  3Comments