UNPKG

split-time

Version:

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

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