File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/tracing/src/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ export class MetricsInstrumentation {
238
238
}
239
239
240
240
const timeOrigin = msToSec ( browserPerformanceTimeOrigin as number ) ;
241
- const startTime = msToSec ( entry . startTime as number ) ;
241
+ const startTime = msToSec ( entry . startTime ) ;
242
242
isDebugBuild ( ) && logger . log ( '[Measurements] Adding LCP' ) ;
243
243
this . _measurements [ 'lcp' ] = { value : metric . value } ;
244
244
this . _measurements [ 'mark.lcp' ] = { value : timeOrigin + startTime } ;
@@ -255,7 +255,7 @@ export class MetricsInstrumentation {
255
255
}
256
256
257
257
const timeOrigin = msToSec ( browserPerformanceTimeOrigin as number ) ;
258
- const startTime = msToSec ( entry . startTime as number ) ;
258
+ const startTime = msToSec ( entry . startTime ) ;
259
259
isDebugBuild ( ) && logger . log ( '[Measurements] Adding FID' ) ;
260
260
this . _measurements [ 'fid' ] = { value : metric . value } ;
261
261
this . _measurements [ 'mark.fid' ] = { value : timeOrigin + startTime } ;
You can’t perform that action at this time.
0 commit comments