Skip to main content
Module

x/evtemitter/types.ts

Eventemitter for deno.
Latest
import * as evtemitter from "https://deno.land/x/evtemitter@v3.1.0/types.ts";

Interfaces

Interface for classes that aren't EventEmitters, but still expose a strictly typed emit method.

Type Aliases

Returns a union type containing all the keys of an event map.

Returns an untyped listener type if T is never; otherwise, returns T.

The event names that are either in ReservedEvents or in UserEvents

Type of a listener of a user event or a reserved event. If Ev is in ReservedEvents, the reserved event listener is returned.