Typescript supports the basic react libraries.
Tricky are 3rd party libraries
this is a project where you find a lot of type / interface definitions
github.com/DefinitelyTyped/DefinitelyTyped
but you should be aware that it's tricky if you're either not used to react or to typescript, the learning curve is steep :).
it's nice for bigger projects. Currently I'm working with typescript and flow for typing for different customers and different teams. atm I prefer Typescript over flow-type.
But if you partially integrate types on an existing codebase Flow-types is more flexible
Philip Davis
Software developer
There's some documentation on TypeScript's website: typescriptlang.org/docs/handbook/react-&-webp…