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
See screenshot. In script-setup I define a prop of type any but inside the template it is considered as unknown
The text was updated successfully, but these errors were encountered:
This is DefineComponent types problem, you can see
DefineComponent
const Foo = defineComponent({ props: { foo: Object as PropType<any> } }); (new Foo()).foo; // <-- unknown
Sorry, something went wrong.
No branches or pull requests
See screenshot.
![image](https://user-images.githubusercontent.com/3832820/142632181-55e2c5bf-65ac-4a6b-83ba-c99c3e7007b5.png)
In script-setup I define a prop of type
any
but inside the template it is considered asunknown
The text was updated successfully, but these errors were encountered: