core icon indicating copy to clipboard operation
core copied to clipboard

feat(sfc): support using extends interface with defineProps()

Open edison1105 opened this issue 3 years ago • 5 comments

close #4498

edison1105 avatar Sep 03 '21 15:09 edison1105

~~Why do the feat still no be merged to master branch.~~

My apologies for the ask. I am using vue-next to develop a lib. And i have one component should be creating some child components. So i thought the extends keyword was helpful for me.

But @yyx990803 has said that the workaround is to prefer writing props types in the same file instead of importing it.

Maybe the feat should be discussed.

oooplz avatar Sep 10 '21 01:09 oooplz

Is it going to be merged ?

sambitevidev avatar Sep 16 '21 04:09 sambitevidev

Is it going to be merged ?

AisonSu avatar May 31 '22 07:05 AisonSu

Merge progress? Anyone have any clever workarounds? This would go a long way in helping abstract out some complicated bits of our component library...

brocjo avatar Aug 26 '22 23:08 brocjo

Over a year has passed since this PR got created :/ Merging it would help to really simplify our project :)

wvffle avatar Sep 28 '22 10:09 wvffle