Skip to content

TS Error for combo prop in extendCompodiumMeta #134

@BayBreezy

Description

@BayBreezy

Hello,

Thanks for the work on this module.

I am using it in a Nuxt Layer that I am working on and I am getting an error when I use the combo prop. Please see the image below for more details.

The keys are included in the props object, so I am not sure what may be causing this.

The feature does work, it's just the error in the IDE.

Thanks in advance.

Screenshot

Image

Error

Type '"size"' is not assignable to type 'ComboItem<Readonly<MappedOmit<LooseRequired<FeaturedIconProps>, "size" | "color" | "theme" | "as">> & { readonly size: "sm" | "md" | "lg" | "xl"; readonly color: "brand" | ... 3 more ... | "success"; readonly as: AsTag | Component; readonly theme: "light" | ... 4 more ... | "outline"; } & { ...; }>'.ts-plugin(2322)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions