Nuxt 3.13 typescript vue imports issue
We're experiencing a type mismatch issue for the ref function between our main app and a library after upgrading to Nuxt 3.13. This wasn't an issue in Nuxt 3.12.
Main App:
Main App:
- Vue 3 (v3.4.38)
- Nuxt 3 (v3.13)
- Vue 3 (same version as main app)
refis auto-imported- Type is resolved from
/node_modules/@vue/runtime-core/.../dist
refis explicitly imported
Type is resolved from/node_module/@vue/reactivity/dist
- Getting a type error: type Ref doesn't match type Ref
refwas correctly resolved to/node_module/@vue/reactivity/distin both cases