Using ReactJS with TypeScript
ReactJS component written in TypeScript
Actually you can use ReactJS's components in Typescript as in facebook's example. Just replace 'jsx' file's extension to 'tsx':
But in order to make full use of Typescript's main feature (static type checking) should be done couple things:
1) convert React.createClass example to ES6 Class:
2) next add Props and State interfaces:
Now Typescript will display an error if the programmer forgets to pass props. Or if they added props that are not defined in the interface.