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

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