Fix PropTypes test in IE10

Test Plan: Ran the test in jest, phantomjs, IE10, Chrome, and Firefox.