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

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

Closed
sxzz opened this issue Aug 8, 2024 · 0 comments · Fixed by #11598
Closed

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

sxzz opened this issue Aug 8, 2024 · 0 comments · Fixed by #11598

Comments

@sxzz
Copy link
Member

sxzz commented Aug 8, 2024

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

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

Successfully merging a pull request may close this issue.

2 participants