Can propType checking be done on createContainer()?

If I have a createContainer() method:

export default SomeContainer = createContainer(({ params }) => {
    ...
}, SomeComponent);

is there any way to check that it is receiving the correct params in the same way that React uses SomeContainer.propTypes = { someId: PropTypes.string } ?

2 Likes