Files
rrweb/index.d.ts
2018-10-08 15:35:03 +08:00

6 lines
237 B
TypeScript

import { serializedNodeWithId, idNodeMap } from './src/types';
export * from './src/types';
export function snapshot(n: Document): [serializedNodeWithId | null, idNodeMap];
export function rebuild(n: serializedNodeWithId): Node | null;