We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6f799 commit 8cb6266Copy full SHA for 8cb6266
packages/rrweb/src/record/observer.ts
@@ -1175,6 +1175,7 @@ function initCustomElementObserver({
1175
customElementCb,
1176
}: observerParam): listenerHandler {
1177
const win = doc.defaultView as IWindow;
1178
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
1179
if (!win || !win.customElements) return () => {};
1180
const restoreHandler = patch(
1181
win.customElements,
0 commit comments