File tree 4 files changed +6
-2
lines changed
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,14 @@ interface MemoryInfo {
38
38
}
39
39
40
40
// Map entryType -> function to normalize data for event
41
+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
41
42
const ENTRY_TYPES : Record < string , ( entry : AllPerformanceEntry ) => null | ReplayPerformanceEntry > = {
43
+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
42
44
resource : createResourceEntry ,
43
45
paint : createPaintEntry ,
46
+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
44
47
navigation : createNavigationEntry ,
48
+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
45
49
[ 'largest-contentful-paint' ] : createLargestContentfulPaint ,
46
50
} ;
47
51
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export class Replay implements Integration {
67
67
*/
68
68
public name : string = Replay . id ;
69
69
70
- public eventBuffer : IEventBuffer | null ;
70
+ public eventBuffer : IEventBuffer | null = null ;
71
71
72
72
/**
73
73
* List of PerformanceEntry from PerformanceObserver
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { isInternal } from './isInternal';
5
5
/**
6
6
* Captures exceptions to Sentry only when it occurs on sentry.io
7
7
*/
8
- export function captureInternalException ( err : Error ) : string | undefined {
8
+ export function captureInternalException ( err : Error ) : void {
9
9
if ( ! isInternal ( ) ) {
10
10
return ;
11
11
}
You can’t perform that action at this time.
0 commit comments