From 8eff962cab608341a6f2fedc640a0e32d96f26e2 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 9 Nov 2025 11:15:19 +0800 Subject: pain --- .../modules/lib/polyfills/interactionCountPolyfill.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 frontend-old/node_modules/web-vitals/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts (limited to 'frontend-old/node_modules/web-vitals/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts') diff --git a/frontend-old/node_modules/web-vitals/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts b/frontend-old/node_modules/web-vitals/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts new file mode 100644 index 0000000..1ed1de3 --- /dev/null +++ b/frontend-old/node_modules/web-vitals/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts @@ -0,0 +1,14 @@ +declare global { + interface Performance { + interactionCount: number; + } +} +/** + * Returns the `interactionCount` value using the native API (if available) + * or the polyfill estimate in this module. + */ +export declare const getInteractionCount: () => number; +/** + * Feature detects native support or initializes the polyfill if needed. + */ +export declare const initInteractionCountPolyfill: () => void; -- cgit v1.2.3