Skip to content

unref returns wrong type #8857

@Eternal-Rise

Description

@Eternal-Rise

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    has PRA pull request has already been submitted to solve the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy