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

4
typings/index.d.ts vendored
View File

@@ -1,4 +1,4 @@
import snapshot, { serializeNodeWithId, transformAttribute } from './snapshot';
import snapshot, { serializeNodeWithId, transformAttribute, visitSnapshot } from './snapshot';
import rebuild, { buildNodeWithSN, addHoverClass } from './rebuild';
export * from './types';
export { snapshot, serializeNodeWithId, rebuild, buildNodeWithSN, addHoverClass, transformAttribute, };
export { snapshot, serializeNodeWithId, rebuild, buildNodeWithSN, addHoverClass, transformAttribute, visitSnapshot, };