Skip to content

Missing support TS 5.5, without DOM lib in tsconfig #11564

@sxzz

Description

@sxzz

Vue version

since 3.0.0, to 3.5 alpha

Link to minimal reproduction

https://github.com/sxzz/vue-ref-issue

Steps to reproduce

  • Install TS 5.5.4
  • Ensure there is no DOM lib in the tsconfig.json
  • Define ref(100) with its type as Ref<any>

What is expected?

Ref<number>

What is actually happening?

Ref<any>

System Info

No response

Any additional comments?

Works on TS 5.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions