Typescript component with generic and Partial #9823
Unanswered
fabruex
asked this question in
Help/Questions
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Typescript, with the following code, I get an error on
descWrong
propertyIn Vue, with the following code, I get an error only if all the properties don't exist in T
Child Component
Parent Component
Is this the correct behavior? If so, is there a way to set a prop as partial of another prop with generic type?
I want to get an error also for
partialItem1
Thanks
Vue SFC Playground
Typescript Playground
Beta Was this translation helpful? Give feedback.
All reactions