File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,14 @@ interface MemoryInfo {
3838}
3939
4040// Map entryType -> function to normalize data for event
41+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
4142const ENTRY_TYPES : Record < string , ( entry : AllPerformanceEntry ) => null | ReplayPerformanceEntry > = {
43+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
4244 resource : createResourceEntry ,
4345 paint : createPaintEntry ,
46+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
4447 navigation : createNavigationEntry ,
48+ // @ts -ignore TODO: entry type does not fit the create* functions entry type
4549 [ 'largest-contentful-paint' ] : createLargestContentfulPaint ,
4650} ;
4751
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export class Replay implements Integration {
6767 */
6868 public name : string = Replay . id ;
6969
70- public eventBuffer : IEventBuffer | null ;
70+ public eventBuffer : IEventBuffer | null = null ;
7171
7272 /**
7373 * List of PerformanceEntry from PerformanceObserver
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { isInternal } from './isInternal';
55/**
66 * Captures exceptions to Sentry only when it occurs on sentry.io
77 */
8- export function captureInternalException ( err : Error ) : string | undefined {
8+ export function captureInternalException ( err : Error ) : void {
99 if ( ! isInternal ( ) ) {
1010 return ;
1111 }
You can’t perform that action at this time.
0 commit comments