Skip to main content
Listener - events - Node documentation
type alias Listener

Usage in Deno

import { type Listener } from "node:events";

Type Parameters

K
T
F

Definition

T extends DefaultEventMap ? F : (K extends keyof T ? (T[K] extends unknown[] ? (...args: T[K]) => void : never) : never)