Why is HTMLAttributes['class'] typed as any? #11289
Unanswered
davidysoards
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would expect Vue's
HTMLAttributes['class']
to be something like:or something like
ClassValue
from theclsx
package (which is practicallyany
, i know 😅):but i'm curious why explicitly
any
was chosen forclass
whileHTMLAttributes['style']
is more strict with:Beta Was this translation helpful? Give feedback.
All reactions