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

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

Merged
merged 3 commits into from Oct 26, 2022

Conversation

edison1105
Copy link
Member

close #4498

@edison1105 edison1105 marked this pull request as draft September 4, 2021 02:58
@edison1105 edison1105 marked this pull request as ready for review September 4, 2021 03:44
@oooplz
Copy link

oooplz commented Sep 10, 2021

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.

@sambitevidev
Copy link

Is it going to be merged ?

@AisonSu
Copy link

AisonSu commented May 31, 2022

Is it going to be merged ?

@brocjo
Copy link

brocjo commented Aug 26, 2022

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

@wvffle
Copy link

wvffle commented Sep 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

defineProps 使用 extends 扩展 props 定义类型,导致 props 缺失 extends 的接口类型的属性
8 participants