Files
whsfund/node_modules/web-vitals/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts
2026-03-06 04:54:20 -04:00

15 lines
415 B
TypeScript

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;