by robmoorman · 7y ago · 0 comments
If you're building a library / sdk, than Typescript comes in place and can make life easier for devs.
The only advantage for using them over TypeScript or Flow that I've seen is when consuming third party React components.
Otherwise the guarantees, feedback loop and terseness of static types are superior to PropTypes.