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

Usage in Deno

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

Type Parameters

K
T

Definition

T extends DefaultEventMap ? string | symbol : K | keyof T