Skip to content

v3.11.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 14:35
· 18 commits to main since this release
e214e72

Patch Changes

  • #402 1d2c397 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.