Initial Commit
This commit is contained in:
21
node_modules/web-vitals/dist/modules/lib/initMetric.d.ts
generated
vendored
Normal file
21
node_modules/web-vitals/dist/modules/lib/initMetric.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
export declare const initMetric: <MetricName extends "CLS" | "FCP" | "FID" | "INP" | "LCP" | "TTFB">(name: MetricName, value?: number) => {
|
||||
name: MetricName;
|
||||
value: number;
|
||||
rating: "good";
|
||||
delta: number;
|
||||
entries: (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;
|
||||
}>)["entries"];
|
||||
id: string;
|
||||
navigationType: "navigate" | "reload" | "back-forward" | "back-forward-cache" | "prerender" | "restore";
|
||||
};
|
||||
Reference in New Issue
Block a user