Fix linting issues (#1347)
* Fix linting issues * Apply formatting changes
This commit is contained in:
@@ -8,7 +8,7 @@ export {
|
||||
IncrementalSource,
|
||||
MouseInteractions,
|
||||
ReplayerEvents,
|
||||
type eventWithTime
|
||||
type eventWithTime,
|
||||
} from '@rrweb/types';
|
||||
|
||||
export type { recordOptions } from './types';
|
||||
|
||||
@@ -1297,9 +1297,13 @@ export function initObservers(
|
||||
const inputHandler = initInputObserver(o);
|
||||
const mediaInteractionHandler = initMediaInteractionObserver(o);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
let styleSheetObserver = () => {};
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
let adoptedStyleSheetObserver = () => {};
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
let styleDeclarationObserver = () => {};
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
let fontObserver = () => {};
|
||||
if (o.recordDOM) {
|
||||
styleSheetObserver = initStyleSheetObserver(o, { win: currentWindow });
|
||||
|
||||
Reference in New Issue
Block a user