UNPKG

split-time

Version:

A JavaScript library for measuring FCP, LCP. Report real user measurements to tracking tool.

13 lines (12 loc) 428 B
declare class SplitTime implements SplitTime { static readonly supportedEntryTypes: string[]; callback: PerformanceObserverCallback; buffer: Set<PerformanceEntry>; entryTypes: string[]; private taskQueue; constructor(callback: PerformanceObserverCallback); observe(options?: PerformanceObserverInit): void; disconnect(): void; takeRecords(): PerformanceEntryList; } export default SplitTime;