Search
Star
1.4k
Feedback
Setup for Free
N
Nuxt
•
9mo ago
•
3 replies
pearbender
ref type wrong
if i do
const count = ref(1)
const count = ref(1)
vscode shows the type as
globalThis.Ref<number, number>
globalThis.Ref<number, number>
why
?
Nuxt
Join
Nuxt Community Chat Server
31,861
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
const count = ref(1)
const count = ref(1)
globalThis.Ref<number, number>
globalThis.Ref<number, number>
Similar Threads
Fake Ref
N
Nuxt / ❓・help
9mo ago
ERROR: Invalid assignment target when using a type in ref
N
Nuxt / ❓・help
2y ago
useState or Ref
N
Nuxt / ❓・help
2w ago
UseAsyncData - undefined Ref
N
Nuxt / ❓・help
16mo ago