Closed dominikj111 closed 7 months ago
Issues with TS aren't really something this project can fix, and the TS types are kept in the DefinitelyTyped repo, not here.
Trying my luck here then https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/68215
I have this snippet where the
ChippedMultiSelect.propTypes.value
passes, butChippedMultiSelect.propTypes.options
doesn't. Theconst optionItemPropType
contains same config as theChippedMultiSelect.propTypes.value
.The TS compiler complains only about the options config where the issue is
I would to expect to be able to store the PropTypes config to the variable, is it not that case, or is that an issue?
typescript version: 5.3.3 prop-types version: 15.18.1