Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
11 lines
727 B
Plaintext
11 lines
727 B
Plaintext
/**
|
|
* web-vitals 5.1.0 switched listeners to be added on the window rather than the document.
|
|
* Instead of having to check for window/document every time we add a listener, we can use this function.
|
|
*/
|
|
export declare function addPageListener(type: string, listener: EventListener, options?: boolean | AddEventListenerOptions): void;
|
|
/**
|
|
* web-vitals 5.1.0 switched listeners to be removed from the window rather than the document.
|
|
* Instead of having to check for window/document every time we remove a listener, we can use this function.
|
|
*/
|
|
export declare function removePageListener(type: string, listener: EventListener, options?: boolean | AddEventListenerOptions): void;
|
|
//# sourceMappingURL=globalListeners.d.ts.map |