Skip to content

Commit a1c88ff

Browse files
committed
lint
1 parent 856489a commit a1c88ff

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

packages/replay/src/coreHandlers/handleScope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { normalize } from '@sentry/utils';
33

44
import { CONSOLE_ARG_MAX_SIZE } from '../constants';
55
import type { ReplayContainer } from '../types';
6+
import type { ReplayFrame } from '../types/replayFrame';
67
import { createBreadcrumb } from '../util/createBreadcrumb';
78
import { fixJson } from '../util/truncateJson/fixJson';
89
import { addBreadcrumbEvent } from './util/addBreadcrumbEvent';
9-
import { ReplayFrame } from '../types/replayFrame';
1010

1111
let _LAST_BREADCRUMB: null | Breadcrumb = null;
1212

packages/replay/src/types/performance.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import type { customEvent } from '@sentry-internal/rrweb';
2-
import type { Breadcrumb, FetchBreadcrumbData, XhrBreadcrumbData } from '@sentry/types';
3-
41
export type AllPerformanceEntry = PerformancePaintTiming | PerformanceResourceTiming | PerformanceNavigationTiming;
52

63
// PerformancePaintTiming and PerformanceNavigationTiming are only available with TS 4.4 and newer
@@ -134,16 +131,6 @@ export interface HistoryData {
134131
}
135132

136133
export type AllEntryData = AllPerformanceEntryData | MemoryData | NetworkRequestData | HistoryData;
137-
interface BaseReplayFrame {
138-
timestamp: number;
139-
/**
140-
* For compatibility reasons
141-
*/
142-
type: string;
143-
category: string;
144-
data?: Record<string, any>;
145-
message?: string;
146-
}
147134

148135
export interface ReplayPerformanceEntry<T> {
149136
/**
@@ -171,4 +158,3 @@ export interface ReplayPerformanceEntry<T> {
171158
*/
172159
data: T;
173160
}
174-

packages/replay/src/types/replay.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ import type {
77
XhrBreadcrumbHint,
88
} from '@sentry/types';
99

10-
import type {AllPerformanceEntry} from './performance';
10+
import type { AllPerformanceEntry } from './performance';
1111
import type { eventWithTime, recordOptions } from './rrweb';
1212

13-
1413
export type RecordingEvent = eventWithTime;
1514
export type RecordingOptions = recordOptions;
1615

packages/replay/src/types/replayFrame.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { customEvent } from '@sentry-internal/rrweb';
22
import type { Breadcrumb, FetchBreadcrumbData, XhrBreadcrumbData } from '@sentry/types';
33

4-
import {AllEntryData} from './performance';
4+
import type { AllEntryData } from './performance';
55

66
interface BaseReplayFrame {
77
timestamp: number;

0 commit comments

Comments
 (0)