We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab43b1f commit 93bd2a0Copy full SHA for 93bd2a0
src/types.ts
@@ -81,12 +81,12 @@ declare global {
81
82
// https://w3c.github.io/largest-contentful-paint/#sec-largest-contentful-paint-interface
83
interface LargestContentfulPaint extends PerformanceEntry {
84
- renderTime: DOMHighResTimeStamp;
85
- loadTime: DOMHighResTimeStamp;
86
- size: number;
87
- id: string;
88
- url: string;
89
- element?: Element;
+ readonly renderTime: DOMHighResTimeStamp;
+ readonly loadTime: DOMHighResTimeStamp;
+ readonly size: number;
+ readonly id: string;
+ readonly url: string;
+ readonly element: Element | null;
90
}
91
92
// https://w3c.github.io/long-animation-frame/#sec-PerformanceLongAnimationFrameTiming
0 commit comments