UNPKG

split-time

Version:

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

17 lines (16 loc) 527 B
interface PerformancePaintTiming extends PerformanceEntry { readonly duration: number; readonly entryType: string; name: string; startTime: number; } export declare const observe: () => Promise<PerformancePaintTiming[]>; declare class PerformancePaintTiming implements PerformancePaintTiming { readonly duration: number; readonly entryType: string; name: string; startTime: number; constructor(name: string, startTime: number); toJSON(): string; } export default PerformancePaintTiming;