Skip to content

Commit 8cb6266

Browse files
authored
Update packages/rrweb/src/record/observer.ts
1 parent 8b6f799 commit 8cb6266

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/rrweb/src/record/observer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,7 @@ function initCustomElementObserver({
11751175
customElementCb,
11761176
}: observerParam): listenerHandler {
11771177
const win = doc.defaultView as IWindow;
1178+
// eslint-disable-next-line @typescript-eslint/no-empty-function
11781179
if (!win || !win.customElements) return () => {};
11791180
const restoreHandler = patch(
11801181
win.customElements,

0 commit comments

Comments
 (0)