Initial Commit
This commit is contained in:
26
node_modules/web-vitals/dist/modules/lib/bindReporter.d.ts
generated
vendored
Normal file
26
node_modules/web-vitals/dist/modules/lib/bindReporter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { MetricType, MetricRatingThresholds } from '../types.js';
|
||||
export declare const bindReporter: <MetricName extends "CLS" | "FCP" | "FID" | "INP" | "LCP" | "TTFB">(callback: (metric: Extract<import("../types.js").CLSMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").FCPMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").FIDMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").INPMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").LCPMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").TTFBMetric, {
|
||||
name: MetricName;
|
||||
}>) => void, metric: Extract<import("../types.js").CLSMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").FCPMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").FIDMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").INPMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").LCPMetric, {
|
||||
name: MetricName;
|
||||
}> | Extract<import("../types.js").TTFBMetric, {
|
||||
name: MetricName;
|
||||
}>, thresholds: MetricRatingThresholds, reportAllChanges?: boolean) => (forceReport?: boolean) => void;
|
||||
Reference in New Issue
Block a user