Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jxiwang authored and github-actions[bot] committed Oct 22, 2024
1 parent fee67b5 commit bf80d08
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/all/test/cross-origin-iframe-packer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import * as fs from 'fs';
import * as path from 'path';
import type * as puppeteer from 'puppeteer';
import type { recordOptions } from '@amplitude/rrweb';
import type {} from'@amplitude/rrweb-types';
import type {} from '@amplitude/rrweb-types';
import { EventType } from '@amplitude/rrweb-types';
import {
assertSnapshot,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrdom-nodejs/src/document-nodejs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,4 +390,4 @@ interface RRElementTagNameMap {
}

type RRElementType<K extends keyof HTMLElementTagNameMap> =
K extends keyof RRElementTagNameMap ? RRElementTagNameMap[K] : RRElement;
K extends keyof RRElementTagNameMap ? RRElementTagNameMap[K] : RRElement;
5 changes: 4 additions & 1 deletion packages/rrweb/src/replay/canvas/webgl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { CanvasContext, type canvasMutationCommand } from '@amplitude/rrweb-types';
import {
CanvasContext,
type canvasMutationCommand,
} from '@amplitude/rrweb-types';
import type { Replayer } from '../';
import { deserializeArg, variableListFor } from './deserialize-args';

Expand Down
6 changes: 5 additions & 1 deletion packages/rrweb/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import type { RRIFrameElement, RRNode } from '@amplitude/rrdom';
import type { IMirror, Mirror, SlimDOMOptions } from '@amplitude/rrweb-snapshot';
import type {
IMirror,
Mirror,
SlimDOMOptions,
} from '@amplitude/rrweb-snapshot';
import {
IGNORED_NODE,
classMatchesRegex,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb/test/replay/hover.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ describe('replayer', function () {
});
});
});
});
});
2 changes: 1 addition & 1 deletion packages/rrweb/test/replay/video.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,4 @@ describe('video', () => {
`);
expect(time).toBe(8);
});
});
});
5 changes: 4 additions & 1 deletion packages/rrweb/test/rrdom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
*/
import { EventType, IncrementalSource, Replayer, eventWithTime } from '../src';
import { vi, type MockInstance } from 'vitest';
import type { styleDeclarationData, styleSheetRuleData } from '@amplitude/rrweb-types';
import type {
styleDeclarationData,
styleSheetRuleData,
} from '@amplitude/rrweb-types';
import { createMirror, Mirror as NodeMirror } from '@amplitude/rrweb-snapshot';
import type { ReplayerHandler } from '@amplitude/rrdom';

Expand Down

0 comments on commit bf80d08

Please sign in to comment.