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

Pass real props instead of ComponentPublicInstance['$props'] #374

Closed
Dodje opened this issue Jun 27, 2023 · 1 comment
Closed

Pass real props instead of ComponentPublicInstance['$props'] #374

Dodje opened this issue Jun 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Dodje
Copy link

Dodje commented Jun 27, 2023

Is your feature request related to a problem? Please describe.

Increasing type safety. For now my IDE says that the type of export type ComponentProps = ComponentPublicInstance['$props']; is just empty object {}

Describe the solution you'd like

Just export real props interface vuejs/core#8083

Additional context

Due to new features of vue3.3 we now able to reuse component interfaces for more convenient usage of wrapperings components

@Dodje Dodje added the enhancement New feature or request label Jun 27, 2023
@hunterliu1003
Copy link
Member

The props has type safety in vue-final-modal 4

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

No branches or pull requests

2 participants