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
2.7.10
codesandbox.io
Spread data onto TSX component / intrinsic element causes type errors due to miss matching style definition of VNodeData property.
data
style
VNodeData
https://github.com/vuejs/jsx-vue2#attributesprops
Expect the spreading of data to not throw type error.
The style attribute expects the shape of string | CSSProperties however the VNodeData definition is string | object[] | object
string | CSSProperties
string | object[] | object
The text was updated successfully, but these errors were encountered:
I'm trying to solve this PR #12789
Sorry, something went wrong.
f7db7f3
test: add test case for #12778
5aed733
No branches or pull requests
Version
2.7.10
Reproduction link
codesandbox.io
Steps to reproduce
Spread
data
onto TSX component / intrinsic element causes type errors due to miss matchingstyle
definition ofVNodeData
property.https://github.com/vuejs/jsx-vue2#attributesprops
What is expected?
Expect the spreading of
data
to not throw type error.What is actually happening?
The style attribute expects the shape of
string | CSSProperties
however theVNodeData
definition isstring | object[] | object
The text was updated successfully, but these errors were encountered: