You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch Changes
#4021d2c397 Thanks @tenphi! - The variant option of tasty(Base, options) now type-checks against both sets of variants when the base component defines its own. Before, tasty(Card, { variants: { plain: … }, variant: 'plain' }) failed with "No overload matches this call" if Card had variants of its own, and so did naming one of Card's variants. The option now accepts a variant from either set, as the extension's variant prop already did. Runtime behaviour is unchanged.