dillon1000/react
Commit
Browse files add React.PropTypes.any
add the ability for React propTypes to accept an `any` type: `someProp: React.PropTypes.any`. This is more useful when combined with `.isRequired`, to enforce that _something_ is passed: `someProp: React.PropTypes.any.isRequired`
Changed paths2 files
First-parent comparisonsrc/core/ReactPropTypes.js ModifiedM src/core/__tests__/ReactPropTypes-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…