Skip to content

Commit 36618ab

Browse files
committed
Fixup eslint
1 parent 6320751 commit 36618ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rrweb-snapshot/src/snapshot.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ function serializeNode(
431431
mirror: Mirror;
432432
blockClass: string | RegExp;
433433
blockSelector: string | null;
434-
needsMask: boolean;
434+
needsMask: boolean | undefined;
435435
inlineStylesheet: boolean;
436436
maskInputOptions: MaskInputOptions;
437437
maskTextFn: MaskTextFn | undefined;
@@ -533,7 +533,7 @@ function getRootId(doc: Document, mirror: Mirror): number | undefined {
533533
function serializeTextNode(
534534
n: Text,
535535
options: {
536-
needsMask: boolean;
536+
needsMask: boolean | undefined;
537537
maskTextFn: MaskTextFn | undefined;
538538
rootId: number | undefined;
539539
},

0 commit comments

Comments
 (0)