Open ElYaiko opened 2 months ago
v2.18.4
-
Type '{ class: string; label: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & Partial<{ size: ButtonSize; type: string; replace: boolean; class: any; truncate: boolean; target: "_blank" | "_parent" | "_self" | "_top" | (string & {}); ... 25 more ...; trailing: boolean; }> & Omit<...>'. Property 'onClick' does not exist on type 'IntrinsicAttributes & Partial<{ size: ButtonSize; type: string; replace: boolean; class: any; truncate: boolean; target: "_blank" | "_parent" | "_self" | "_top" | (string & {}); ... 25 more ...; trailing: boolean; }> & Omit<...>'.
Emits like @click are not defined in the UButton component.
@click
UButton
No response
Any update? More than the half of tsc errors in my project are because of this
Environment
Version
v2.18.4
Reproduction
-
Description
Additional context
Emits like
@click
are not defined in theUButton
component.Logs
No response