-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Inherit attributes with generic components causes type error #8372
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
Labels
Comments
Looks like its because of empty ComponentCustomProps interface
|
bump - need this please |
I've found a workaround, but it may have side effects const props = defineProps<{
// allow other attributes
[attrs: string]: any
// props...
}>() |
any news? |
No longer reproduced on |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Vue version
3.3.4
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-nwkbil?file=package.json,src%2Fcomponents%2FListGeneric.vue,src%2FApp.vue,src%2Fcomponents%2FList.vue
Steps to reproduce
npm run typecheck
into the terminalWhat is expected?
There is no error occurred
What is actually happening?
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: