New issue
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
[Bug] prop being passed but volar throws that it wasn't #2468
Comments
@johnsoncodehk Still reproducible in Volar v1.3.4: What's worse is that the inline prop-missing hint is gone, before: Now: Please reopen this. |
This is by design, please try: defineProps<{
msg: string
- onEvent(): void
+ onEvent?(): void
}>() |
@johnsoncodehk But
So there's no way to make onEventListeners required? |
@johnsoncodehk Vue clearly allows making onEventListeners required: |
@johnsoncodehk Thanks, passing |
Repro Link
The text was updated successfully, but these errors were encountered: