-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Labels
Description
I wanted to switch a couple fields that belong together from individual ref()'s to a single reactive(). Since I am using TypeScript, I tried to import the UnwrapRef type, but instead of using the main import, it redirected me to its full path instead:
I can import this:
import { Ref } from '@vue/composition-api';but need to do this for UnwrapRef:
import { UnwrapRef } from '@vue/composition-api/dist/reactivity/index.d';has this been an oversight, or is there a reason (like, "probably don't want to use reactive at all")?
Edit: I also noticed that Refs seems to be missing?