Skip to content

Commit 3a0b463

Browse files
authored
chore: fix typo (DistrubuteRef -> DistributeRef) (#11040)
1 parent 5d25850 commit 3a0b463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/reactivity/src/ref.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,10 @@ type BaseTypes = string | number | boolean
496496
export interface RefUnwrapBailTypes {}
497497

498498
export type ShallowUnwrapRef<T> = {
499-
[K in keyof T]: DistrubuteRef<T[K]>
499+
[K in keyof T]: DistributeRef<T[K]>
500500
}
501501

502-
type DistrubuteRef<T> = T extends Ref<infer V> ? V : T
502+
type DistributeRef<T> = T extends Ref<infer V> ? V : T
503503

504504
export type UnwrapRef<T> =
505505
T extends ShallowRef<infer V>

0 commit comments

Comments
 (0)