Initial Commit
This commit is contained in:
8
node_modules/web-vitals/dist/modules/attribution/onFCP.d.ts
generated
vendored
Normal file
8
node_modules/web-vitals/dist/modules/attribution/onFCP.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { FCPMetricWithAttribution, ReportOpts } from '../types.js';
|
||||
/**
|
||||
* Calculates the [FCP](https://web.dev/articles/fcp) value for the current page and
|
||||
* calls the `callback` function once the value is ready, along with the
|
||||
* relevant `paint` performance entry used to determine the value. The reported
|
||||
* value is a `DOMHighResTimeStamp`.
|
||||
*/
|
||||
export declare const onFCP: (onReport: (metric: FCPMetricWithAttribution) => void, opts?: ReportOpts) => void;
|
||||
Reference in New Issue
Block a user