You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
Versions
Version being used: 3.0.10
Description
I want to create an object that satisfiesHtmx.Attributes, and pass that to a component using a spread operator. This functionally works, but if there is a misspelled attribute, the JSX parser does not show a parsing error.
Steps to Reproduce
The problem is that if I type this incorrectly like:
Prerequisites
Versions
Version being used: 3.0.10
Description
I want to create an object that satisfies
Htmx.Attributes
, and pass that to a component using a spread operator. This functionally works, but if there is a misspelled attribute, the JSX parser does not show a parsing error.Steps to Reproduce
The problem is that if I type this incorrectly like:
I don't receive a type error, whereas I correctly receive a type error in this case:
Expected Behavior
A type error should show when an invalid HTML attribute is passed in via spread operator
The text was updated successfully, but these errors were encountered: