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 5d25850 commit 3a0b463Copy full SHA for 3a0b463
packages/reactivity/src/ref.ts
@@ -496,10 +496,10 @@ type BaseTypes = string | number | boolean
496
export interface RefUnwrapBailTypes {}
497
498
export type ShallowUnwrapRef<T> = {
499
- [K in keyof T]: DistrubuteRef<T[K]>
+ [K in keyof T]: DistributeRef<T[K]>
500
}
501
502
-type DistrubuteRef<T> = T extends Ref<infer V> ? V : T
+type DistributeRef<T> = T extends Ref<infer V> ? V : T
503
504
export type UnwrapRef<T> =
505
T extends ShallowRef<infer V>
0 commit comments