Describe the bug
When using "extend" prop to compose class names, the prop-types produced in extended TVReturnType aren't correct. Without "boolean" variant, typescript happy, but the type of "props.variant" in the BuyButton component is "string | number | undefined" which looks incorrect too.
Describe the bug When using "extend" prop to compose class names, the prop-types produced in extended TVReturnType aren't correct. Without "boolean" variant, typescript happy, but the type of "props.variant" in the BuyButton component is "string | number | undefined" which looks incorrect too.
To Reproduce
Expected behavior Props for the "buyButton" inherited properly to let typescript pass without errors and suggest correct variants in autocomplete.
Screenshots
Desktop (please complete the following information):
Additional context