Skip to content

Commit 5807e2d

Browse files
performanceeventtiming interface
1 parent a3f235f commit 5807e2d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/tracing-internal/src/browser/instrument.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ interface PerformanceEntry {
2020
readonly startTime: number;
2121
toJSON(): Record<string, unknown>;
2222
}
23+
interface PerformanceEventTiming extends PerformanceEntry {
24+
processingStart: DOMHighResTimeStamp;
25+
processingEnd: DOMHighResTimeStamp;
26+
duration: DOMHighResTimeStamp;
27+
cancelable?: boolean;
28+
target?: Element;
29+
}
2330

2431
interface Metric {
2532
/**

0 commit comments

Comments
 (0)