@@ -464,7 +464,7 @@ export class ReplayContainer implements ReplayContainerInterface {
464464
465465 // We need to clear existing events on a checkout, otherwise they are
466466 // incremental event updates and should be appended
467- addEvent ( this , event , isCheckout ) ;
467+ void addEvent ( this , event , isCheckout ) ;
468468
469469 // Different behavior for full snapshots (type=2), ignore other event types
470470 // See https://github.com/rrweb-io/rrweb/blob/d8f9290ca496712aa1e7d472549480c4e7876594/packages/rrweb/src/types.ts#L16
@@ -570,7 +570,7 @@ export class ReplayContainer implements ReplayContainerInterface {
570570 }
571571
572572 this . addUpdate ( ( ) => {
573- addEvent ( this , {
573+ void addEvent ( this , {
574574 type : EventType . Custom ,
575575 // TODO: We were converting from ms to seconds for breadcrumbs, spans,
576576 // but maybe we should just keep them as milliseconds
@@ -688,7 +688,7 @@ export class ReplayContainer implements ReplayContainerInterface {
688688 */
689689 createCustomBreadcrumb ( breadcrumb : Breadcrumb ) : void {
690690 this . addUpdate ( ( ) => {
691- addEvent ( this , {
691+ void addEvent ( this , {
692692 type : EventType . Custom ,
693693 timestamp : breadcrumb . timestamp || 0 ,
694694 data : {
@@ -703,7 +703,7 @@ export class ReplayContainer implements ReplayContainerInterface {
703703 * Observed performance events are added to `this.performanceEvents`. These
704704 * are included in the replay event before it is finished and sent to Sentry.
705705 */
706- addPerformanceEntries ( ) : Promise < Array < WorkerAddEventResponse | null > > {
706+ addPerformanceEntries ( ) : Promise < Array < WorkerAddEventResponse | null > > {
707707 // Copy and reset entries before processing
708708 const entries = [ ...this . performanceEvents ] ;
709709 this . performanceEvents = [ ] ;
0 commit comments