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
any
unknown
3.2.22
sfc.vuejs.org/
Using Typescript, define a props typed as any. Try to access random members in template.
No compilation error
Typescript complains, because the props is of type unknown
Downstream issue in Volar: vuejs/language-tools#713 @johnsoncodehk traced the issue to be in defineComponent typings.
defineComponent
The text was updated successfully, but these errors were encountered:
fix(types): fix propType<any> type inference (#4985)
3c449cd
fix #4983
Successfully merging a pull request may close this issue.
Version
3.2.22
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Using Typescript, define a props typed as
any
.Try to access random members in template.
What is expected?
No compilation error
What is actually happening?
Typescript complains, because the props is of type
unknown
Downstream issue in Volar: vuejs/language-tools#713
@johnsoncodehk traced the issue to be in
defineComponent
typings.The text was updated successfully, but these errors were encountered: