react-immutable-proptypes icon indicating copy to clipboard operation
react-immutable-proptypes copied to clipboard

`exact` prop type

Open dkrutsko opened this issue 7 years ago • 0 comments

Hey there, prop-types version 15.6.0 added a new feature PropTypes.exact which is like PropTypes.shape but warns on extra object keys. I'm wondering if something similar should be added to this library in order to maintain consistency?

dkrutsko avatar Feb 28 '18 20:02 dkrutsko