diff --git a/.changeset/nice-beans-thank.md b/.changeset/nice-beans-thank.md new file mode 100644 index 0000000000..57bc0e5aba --- /dev/null +++ b/.changeset/nice-beans-thank.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/system-rsc": patch +--- + +added missing `StringToBoolean[]` (#3530) diff --git a/packages/core/system-rsc/src/extend-variants.d.ts b/packages/core/system-rsc/src/extend-variants.d.ts index b2dba3fad5..3ef30a7bee 100644 --- a/packages/core/system-rsc/src/extend-variants.d.ts +++ b/packages/core/system-rsc/src/extend-variants.d.ts @@ -33,6 +33,7 @@ type ComposeVariants = SuggestedVariants | Variants; type VariantValue = { [K in keyof V | keyof SV]?: | (K extends keyof V ? StringToBoolean : never) + | (K extends keyof V ? StringToBoolean[] : never) | (K extends keyof SV ? ValidateSubtype extends "true" ? keyof OmitUndefined @@ -47,7 +48,7 @@ type CompoundVariants = Array & ClassProp type Options = { /** * Whether to merge the class names with `tailwind-merge` library. - * It's avoid to have duplicate tailwind classes. (Recommended) + * It avoids to have duplicate tailwind classes. (Recommended) * @see https://github.com/dcastil/tailwind-merge/blob/v1.8.1/README.md * @default true */