DEV Community

Discussion on: Notes on TypeScript: Inferring React PropTypes

Collapse
 
adham_benhawy profile image
Adham El Banhawy

That's really interesting. I didn't know you can still use propTypes with TypeScript, I just always assumed that you gotta always write interfaces for props.