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
12 lines
451 B
Plaintext
12 lines
451 B
Plaintext
import { TaggedEventHandler } from './addEventListener';
|
|
/**
|
|
* A `removeEventListener` ponyfill
|
|
*
|
|
* @param node the element
|
|
* @param eventName the event name
|
|
* @param handle the handler
|
|
* @param options event options
|
|
*/
|
|
declare function removeEventListener<K extends keyof HTMLElementEventMap>(node: HTMLElement, eventName: K, handler: TaggedEventHandler<K>, options?: boolean | EventListenerOptions): void;
|
|
export default removeEventListener;
|