Skip to content

Commit

Permalink
fix(watch): remove redundant parameter default value (#4565)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangmingshan committed Sep 21, 2021
1 parent 0448125 commit 11a2098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/apiWatch.ts
Expand Up @@ -428,7 +428,7 @@ export function createPathGetter(ctx: any, path: string) {
}
}

export function traverse(value: unknown, seen: Set<unknown> = new Set()) {
export function traverse(value: unknown, seen?: Set<unknown>) {
if (!isObject(value) || (value as any)[ReactiveFlags.SKIP]) {
return value
}
Expand Down

0 comments on commit 11a2098

Please sign in to comment.