fix(watch): remove redundant parameter default value (#4565)

This commit is contained in:
Yang Mingshan 2021-09-22 00:32:12 +08:00 committed by GitHub
parent 044812525f
commit 11a2098a69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}