Skip to content

Commit 1340c80

Browse files
jaj1014github-actions[bot]
authored andcommitted
Apply formatting changes
1 parent 9de0f6d commit 1340c80

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/rrweb-snapshot/src/utils.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ export function getNative<T>(
6262

6363
export const nativeSetTimeout =
6464
typeof window !== 'undefined'
65-
? (getNative<typeof window.setTimeout>('setTimeout').bind(
66-
window,
67-
) )
65+
? getNative<typeof window.setTimeout>('setTimeout').bind(window)
6866
: global.setTimeout;
6967

7068
/**

packages/rrweb-snapshot/test/css.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('css parser', () => {
2020
const ast = postcss([plugin]).process(input, {});
2121
return ast.css;
2222
}
23-
23+
2424
describe('mediaSelectorPlugin', () => {
2525
it('selectors without device remain unchanged', () => {
2626
const cssText =

0 commit comments

Comments
 (0)