fix serializeNodeWithId args
This commit is contained in:
@@ -214,9 +214,11 @@ export default class MutationBuffer {
|
|||||||
document,
|
document,
|
||||||
mirror.map,
|
mirror.map,
|
||||||
this.blockClass,
|
this.blockClass,
|
||||||
|
null,
|
||||||
true,
|
true,
|
||||||
this.inlineStylesheet,
|
this.inlineStylesheet,
|
||||||
this.maskInputOptions,
|
this.maskInputOptions,
|
||||||
|
undefined,
|
||||||
this.recordCanvas,
|
this.recordCanvas,
|
||||||
)!,
|
)!,
|
||||||
});
|
});
|
||||||
|
|||||||
2
typings/replay/index.d.ts
vendored
2
typings/replay/index.d.ts
vendored
@@ -50,4 +50,6 @@ export declare class Replayer {
|
|||||||
private warnNodeNotFound;
|
private warnNodeNotFound;
|
||||||
private warnCanvasMutationFailed;
|
private warnCanvasMutationFailed;
|
||||||
private debugNodeNotFound;
|
private debugNodeNotFound;
|
||||||
|
private warn;
|
||||||
|
private debug;
|
||||||
}
|
}
|
||||||
|
|||||||
8
typings/utils.d.ts
vendored
8
typings/utils.d.ts
vendored
@@ -45,3 +45,11 @@ export declare class TreeIndex {
|
|||||||
};
|
};
|
||||||
private reset;
|
private reset;
|
||||||
}
|
}
|
||||||
|
declare type ResolveTree = {
|
||||||
|
value: addedNodeMutation;
|
||||||
|
children: ResolveTree[];
|
||||||
|
parent: ResolveTree | null;
|
||||||
|
};
|
||||||
|
export declare function queueToResolveTrees(queue: addedNodeMutation[]): ResolveTree[];
|
||||||
|
export declare function iterateResolveTree(tree: ResolveTree, cb: (mutation: addedNodeMutation) => unknown): void;
|
||||||
|
export {};
|
||||||
|
|||||||
Reference in New Issue
Block a user