We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3421a79 commit 6890852Copy full SHA for 6890852
src/reactivity/index.ts
@@ -29,4 +29,4 @@ export type {
29
UnwrapRefSimple,
30
ShallowUnwrapRef,
31
} from './ref'
32
-export type { DeepReadonly } from './readonly'
+export type { DeepReadonly, UnwrapNestedRefs } from './readonly'
src/reactivity/readonly.ts
@@ -33,7 +33,7 @@ export type DeepReadonly<T> = T extends Builtin
33
: Readonly<T>
34
35
// only unwrap nested ref
36
-type UnwrapNestedRefs<T> = T extends Ref ? T : UnwrapRefSimple<T>
+export type UnwrapNestedRefs<T> = T extends Ref ? T : UnwrapRefSimple<T>
37
38
/**
39
* **In @vue/composition-api, `reactive` only provides type-level readonly check**
0 commit comments