File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export interface RumNotRestoredReasons {
8686  reasons : RumNotRestoredReasonDetails [ ]  |  null 
8787  src : string  |  null 
8888  url : string  |  null 
89-   toJSON ( ) : Omit < RumNotRestoredReasons ,   'toJSON' > 
89+   toJSON ? ( ) : RumNotRestoredReasons 
9090} 
9191
9292export  interface  RumPerformanceNavigationTiming  extends  Omit < RumPerformanceResourceTiming ,  'entryType' >  { 
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { discardNegativeDuration } from '../discardNegativeDuration'
44import  type  {  RecorderApi  }  from  '../../boot/rumPublicApi' 
55import  type  {  RawRumViewEvent ,  ViewPerformanceData  }  from  '../../rawRumEvent.types' 
66import  {  RumEventType  }  from  '../../rawRumEvent.types' 
7- import  type  {  RumNotRestoredReasons  }  from  '../../browser/performanceObservable' 
87import  type  {  LifeCycle ,  RawRumEventCollectedData  }  from  '../lifeCycle' 
98import  {  LifeCycleEventType  }  from  '../lifeCycle' 
109import  type  {  LocationChange  }  from  '../../browser/locationChangeObservable' 
@@ -130,8 +129,7 @@ function processViewUpdate(
130129        count : view . eventCounts . longTaskCount , 
131130      } , 
132131      performance : computeViewPerformanceData ( view . commonViewMetrics ,  view . initialViewMetrics ) , 
133-       not_restored_reasons :
134-         view . initialViewMetrics . navigationTimings ?. notRestoredReasons ?. toJSON ( )  as  RumNotRestoredReasons , 
132+       not_restored_reasons : view . initialViewMetrics . navigationTimings ?. notRestoredReasons ?. toJSON ?.( ) , 
135133      resource : { 
136134        count : view . eventCounts . resourceCount , 
137135      } , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments