Function removeEventListener
- removeEventListener<K extends keyof WindowEventMap>(
 type: K,
 listener: (this: Window, ev: WindowEventMap[K]) => any,
 options?: boolean | EventListenerOptions,
 ): void
- Type Parameters- K extends keyof WindowEventMap
 - Parameters- type: K
- listener: (this: Window, ev: WindowEventMap[K]) => any
- Optionaloptions: boolean | EventListenerOptions
 - Returns void
- removeEventListener(
 type: string,
 listener: EventListenerOrEventListenerObject,
 options?: boolean | EventListenerOptions,
 ): void
- Parameters- type: string
- listener: EventListenerOrEventListenerObject
- Optionaloptions: boolean | EventListenerOptions
 - Returns void