From 11a2098a69f47e0919647de0deabd14022febda1 Mon Sep 17 00:00:00 2001 From: Yang Mingshan Date: Wed, 22 Sep 2021 00:32:12 +0800 Subject: [PATCH] fix(watch): remove redundant parameter default value (#4565) --- packages/runtime-core/src/apiWatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/apiWatch.ts b/packages/runtime-core/src/apiWatch.ts index 4a414856..a58f4d39 100644 --- a/packages/runtime-core/src/apiWatch.ts +++ b/packages/runtime-core/src/apiWatch.ts @@ -428,7 +428,7 @@ export function createPathGetter(ctx: any, path: string) { } } -export function traverse(value: unknown, seen: Set = new Set()) { +export function traverse(value: unknown, seen?: Set) { if (!isObject(value) || (value as any)[ReactiveFlags.SKIP]) { return value }