We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgVwHZQKYDMA0cYQBqAhgDbIZwC+cWUEIcARAG4VMBQoks+AnmEpIAwgzDIYGACYAlbHjlZqteo1bsA3B20YAHj3gwBlRQHkoo8BOkAeACoA+OAF44i+04A+cS+MmzsDy09A35BOABZYj4AIwwzCzFrKQ8XODs4bwTfZI9tI3CAMQgINKjY+OxzHP8bJGApAC44VGQQOKhqB20AYwhUAGd4LFQ0gAowYihiEGbiiABKFycEDjh1uD7B+GmAdwAFKZm0tEwsCaOQBe0NuGAlMb3D6ZAAOgal1dvbgHofuDWGyoHGBvX6Q1oqAATONJi85iUls4VoD1lsIU9LmkCCRyBgLi9rqi7g9MS93lJPsTfv9icCqEA
See tsplayground
I expect to get unrefed type
returned type of unref is still includes ComputedRef. Same for toValue
No response
The text was updated successfully, but these errors were encountered:
Idem when using toValue
Sorry, something went wrong.
same question
I believe, it will be fixed with #8748
unref
toValue
fix(types): fix unref and toValue when input union type contains …
176d476
…ComputedRef (#8748) close #8747 close #8857
Successfully merging a pull request may close this issue.
Vue version
3
Link to minimal reproduction
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgVwHZQKYDMA0cYQBqAhgDbIZwC+cWUEIcARAG4VMBQoks+AnmEpIAwgzDIYGACYAlbHjlZqteo1bsA3B20YAHj3gwBlRQHkoo8BOkAeACoA+OAF44i+04A+cS+MmzsDy09A35BOABZYj4AIwwzCzFrKQ8XODs4bwTfZI9tI3CAMQgINKjY+OxzHP8bJGApAC44VGQQOKhqB20AYwhUAGd4LFQ0gAowYihiEGbiiABKFycEDjh1uD7B+GmAdwAFKZm0tEwsCaOQBe0NuGAlMb3D6ZAAOgal1dvbgHofuDWGyoHGBvX6Q1oqAATONJi85iUls4VoD1lsIU9LmkCCRyBgLi9rqi7g9MS93lJPsTfv9icCqEA
Steps to reproduce
See tsplayground
What is expected?
I expect to get unrefed type
What is actually happening?
returned type of unref is still includes ComputedRef. Same for toValue
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: