Skip to content

Commit 5f42677

Browse files
committed
update toJSON() type
1 parent ea1c3bb commit 5f42677

File tree

1 file changed

+1
-1
lines changed
  • packages/tracing/src/browser/web-vitals

1 file changed

+1
-1
lines changed

packages/tracing/src/browser/web-vitals/getLCP.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface LargestContentfulPaint extends PerformanceEntry {
3030
id: string;
3131
url: string;
3232
element?: Element;
33-
toJSON(): Record<string, unknown>;
33+
toJSON(): Record<string, string>;
3434
}
3535

3636
export const getLCP = (onReport: ReportHandler, reportAllChanges = false): void => {

0 commit comments

Comments
 (0)