We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9de0f6d commit 1340c80Copy full SHA for 1340c80
packages/rrweb-snapshot/src/utils.ts
@@ -62,9 +62,7 @@ export function getNative<T>(
62
63
export const nativeSetTimeout =
64
typeof window !== 'undefined'
65
- ? (getNative<typeof window.setTimeout>('setTimeout').bind(
66
- window,
67
- ) )
+ ? getNative<typeof window.setTimeout>('setTimeout').bind(window)
68
: global.setTimeout;
69
70
/**
packages/rrweb-snapshot/test/css.test.ts
@@ -20,7 +20,7 @@ describe('css parser', () => {
20
const ast = postcss([plugin]).process(input, {});
21
return ast.css;
22
}
23
-
+
24
describe('mediaSelectorPlugin', () => {
25
it('selectors without device remain unchanged', () => {
26
const cssText =
0 commit comments