fix propTypes test for any.weak