Dave Coates

Results 14 comments of Dave Coates

No PR yet, just basic implementation for Maps / Records, need to extend it to other types. It has occurred to me that Union's rely on generating TypeErrors so will...

I think you should just be able to use `PropTypes.instanceOf`: ``` CardComponent.propTypes = { card: PropTypes.instanceOf(Card).isRequired, } ``` same for list ``` CardListComponent.propTypes = { cards: PropTypes.instanceOf(CardList).isRequired, } ``` Does...

Seems common enough that it's probably worth including - I've added something equivalent on every project I've used typed-immutable on.

Sorry, we need docs for this as well