summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/web-vitals/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts
blob: 1ed1de32ae516b2af4a15d8938eb489a3d8ab1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;