rename visit to visitSnapshot

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 52aac74fa2
commit 41868e2265
5 changed files with 7 additions and 6 deletions

View File

@@ -425,7 +425,7 @@ function snapshot(
];
}
export function visit(
export function visitSnapshot(
node: serializedNodeWithId,
onVisit: (node: serializedNodeWithId) => unknown,
) {