From: Haoqun Jiang Date: Thu, 30 May 2024 10:22:11 +0000 (+0800) Subject: chore: fix typo (DistrubuteRef -> DistributeRef) (#11040) X-Git-Tag: v3.4.28~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a0b463a2c2e288dfe6850b9cb235f12419f32a6;p=thirdparty%2Fvuejs%2Fcore.git chore: fix typo (DistrubuteRef -> DistributeRef) (#11040) --- diff --git a/packages/reactivity/src/ref.ts b/packages/reactivity/src/ref.ts index 5f40fbb7c2..bd121e47d4 100644 --- a/packages/reactivity/src/ref.ts +++ b/packages/reactivity/src/ref.ts @@ -496,10 +496,10 @@ type BaseTypes = string | number | boolean export interface RefUnwrapBailTypes {} export type ShallowUnwrapRef = { - [K in keyof T]: DistrubuteRef + [K in keyof T]: DistributeRef } -type DistrubuteRef = T extends Ref ? V : T +type DistributeRef = T extends Ref ? V : T export type UnwrapRef = T extends ShallowRef