Skip to content
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

Component Event causing error ts(2304) "Cannot find name 'propName'" #3103

Closed
webdevnerdstuff opened this issue May 1, 2023 · 1 comment
Closed

Comments

@webdevnerdstuff
Copy link

Environment:
OS: OSX 13.3.1 (22E261)
Vue Language Features (Volar) Version: v1.6.2
TypeScript Vue Plugin (Volar) Version: v1.6.2

In v1.6.1 the following did not throw any errors

<v-data-table
    :headers="headers"
    :items="items"
    @update:model-value="updateModelValue"
  >

items is giving the error Cannot find name 'items'.ts(2304). If I remove @update the error goes away. The example I gave is a simplified version of what I actually have. I have a lot of props on the component, and they all have the same error. Same results is that removing @update makes the error go away.

@webdevnerdstuff
Copy link
Author

Nevermind, looks like this was already fixed via: #3100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant