infer props of PropTypes.arrayOf in typescript code example Example: proptypes.arrayof/() optionalArrayOf: PropTypes.arrayOf(PropTypes.number)