Skip to content

Commit

Permalink
fix: sync types with TS v5.5 (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
devjiwonchoi authored Jun 30, 2024
1 parent ab43b1f commit 93bd2a0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ declare global {

// https://w3c.github.io/largest-contentful-paint/#sec-largest-contentful-paint-interface
interface LargestContentfulPaint extends PerformanceEntry {
renderTime: DOMHighResTimeStamp;
loadTime: DOMHighResTimeStamp;
size: number;
id: string;
url: string;
element?: Element;
readonly renderTime: DOMHighResTimeStamp;
readonly loadTime: DOMHighResTimeStamp;
readonly size: number;
readonly id: string;
readonly url: string;
readonly element: Element | null;
}

// https://w3c.github.io/long-animation-frame/#sec-PerformanceLongAnimationFrameTiming
Expand Down

0 comments on commit 93bd2a0

Please sign in to comment.