split-time
Version:
A JavaScript library for measuring FCP, LCP. Report real user measurements to tracking tool.
8 lines (7 loc) • 340 B
TypeScript
export default class EntryList extends Array<PerformanceEntry> implements PerformanceObserverEntryList {
private _entries;
constructor(entries: PerformanceEntry[]);
getEntries(): PerformanceEntry[];
getEntriesByType(type: string): PerformanceEntry[];
getEntriesByName(name: string, type?: string): PerformanceEntry[];
}