We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using a component with a prop named i.e. dataRows, using it in the template shows this TS error:
dataRows
Type '{ "data-rows": IdRecordAny[]; }' is not assignable to type 'IntrinsicAttributes & Partial<{}> & Omit<Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ dataRows: IdRecordAny[]; striped?: boolean | undefined; }>>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>'. Property 'dataRows' is missing in type '{ "data-rows": IdRecordAny[]; }' but required in type 'Omit<Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ dataRows: IdRecordAny[]; striped?: boolean | undefined; }>>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>'.
The error is only shown when passing the prop in kebab-case:
When passing it as camelCase the error is not shown, but ESLint wants to convert it back to kebab-case:
I suspect this commit for causing this regression: ba2835f
Defined component props beginning with data* or aria* should work in every capitalization like seen with other props.
data*
aria*
The text was updated successfully, but these errors were encountered:
efde57c
No branches or pull requests
Using a component with a prop named i.e.
dataRows
, using it in the template shows this TS error:The error is only shown when passing the prop in kebab-case:
When passing it as camelCase the error is not shown, but ESLint wants to convert it back to kebab-case:
I suspect this commit for causing this regression: ba2835f
Defined component props beginning with
data*
oraria*
should work in every capitalization like seen with other props.The text was updated successfully, but these errors were encountered: