diff --git a/packages/rrweb/src/record/observers/asset-manager.ts b/packages/rrweb/src/record/observers/asset-manager.ts index 99e6c9100c..043bda8742 100644 --- a/packages/rrweb/src/record/observers/asset-manager.ts +++ b/packages/rrweb/src/record/observers/asset-manager.ts @@ -12,7 +12,11 @@ import { encode } from 'base64-arraybuffer'; import { patch } from '../../utils'; -import type { recordOptions, assetStatus, ProcessingStyleElement } from '../../types'; +import type { + recordOptions, + assetStatus, + ProcessingStyleElement, +} from '../../types'; import { getSourcesFromSrcset, shouldCaptureAsset, @@ -21,7 +25,9 @@ import { findCssTextSplits, } from 'rrweb-snapshot'; -export function isProcessingStyleElement(el: Element): el is ProcessingStyleElement { +export function isProcessingStyleElement( + el: Element, +): el is ProcessingStyleElement { return '__rrProcessingStylesheet' in el; }