TypeScript + React

I understand that jsx files are transpiled with babel but what about if I wanted to use typescript. There is a package that compiles typescript but how would one go about using typescript with react? Any solid working solution/examples out there?

Currently, the best way is to transpile typescript to es6 and have Babel take it further with the ecmascript package.

However, typescript only really makes sense when the module system is in place (coming in 1.3). For now, we have been using typescript with webpack.

Maybe when 1.3 is released, we’ll think about writing a meteor typescript compiler package. If it makes sense with webpack.

1 Like

I would also be interested in this. Please let me know when you would have built such a package.