Skip to content

Commit

Permalink
performanceeventtiming interface
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardgou-sentry committed Feb 29, 2024
1 parent a3f235f commit 5807e2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/tracing-internal/src/browser/instrument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ interface PerformanceEntry {
readonly startTime: number;
toJSON(): Record<string, unknown>;
}
interface PerformanceEventTiming extends PerformanceEntry {
processingStart: DOMHighResTimeStamp;
processingEnd: DOMHighResTimeStamp;
duration: DOMHighResTimeStamp;
cancelable?: boolean;
target?: Element;
}

interface Metric {
/**
Expand Down

0 comments on commit 5807e2d

Please sign in to comment.