You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
415 B
14 lines
415 B
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;
|
|
|