update typings

This commit is contained in:
Yanzhen Yu
2019-04-14 15:58:13 +08:00
parent ea59841415
commit 6218745a75
2 changed files with 2 additions and 2 deletions

View File

@@ -270,7 +270,7 @@ export function serializeNodeWithId(
function snapshot(
n: Document,
blockClass = 'rr-block',
blockClass: string | RegExp = 'rr-block',
): [serializedNodeWithId | null, idNodeMap] {
resetId();
const idNodeMap: idNodeMap = {};