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

Seems that design limitation in TypeScript mentioned in documentation is fixed #5785

Closed
mPyth opened this issue Apr 22, 2022 · 4 comments
Closed

Comments

@mPyth
Copy link

mPyth commented Apr 22, 2022

What problem does this feature solve?

Quotation from this documentation page : "Because of a design limitation in TypeScript, you have to be careful when using function values for validator and default prop options ..." .
In this sentence "design limitation" links to this GitHub ticket which is mentioned as fixed 19 days ago in this ticket.

What does the proposed API look like?

Considering mentioned TypeScript limitation does not exist any more Vue could be improved.

@LinusBorg
Copy link
Member

Assuming we don't have to adjust our types and this just works, this limitation still exist for TS <4.7 (and that version is still in beta afaik).

When 4.7 is released and we have tested this, we could move this to the docs repo and amend the docs accordingly.

@skirtles-code
Copy link
Contributor

Related docs PR: vuejs/docs#1853

@LinusBorg
Copy link
Member

Cool, thanks. Closing this as it's already done?

@haoqunjiang
Copy link
Member

Closing as the documentation has been updated

@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants