rename visit to visitSnapshot

This commit is contained in:
Yanzhen Yu
2020-08-22 15:42:55 +08:00
parent 9bf1ced656
commit 3c406bd49f
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,
) {