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

Type of unref is incorrect #887

Closed
stellR42 opened this issue Jan 13, 2022 · 2 comments
Closed

Type of unref is incorrect #887

stellR42 opened this issue Jan 13, 2022 · 2 comments

Comments

@stellR42
Copy link

This was fixed in Vue 3, but seems to not have been updated in this package.
The type should be <T>(ref: T | Ref<T>): T but is currently <T>(ref: T): T extends Ref<infer V> ? V : T
See vuejs/core#3954.

In general, how up to date is this package with the Vue 3 repository? If an issue has been fixed there, can I reasonably expect it to have been fixed here as well, or is that not the case?

@MinatoHikari
Copy link
Contributor

MinatoHikari commented Jan 14, 2022

That issue is created by me, wait a minute and let me fix the type of unref and #866.

@github-actions
Copy link

Stale issue message

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

No branches or pull requests

2 participants