Skip to main content
Module

x/evt/lib/types/index.ts>UnpackCtx

💧EventEmitter's typesafe replacement
Go to Latest
type alias UnpackCtx
import { type UnpackCtx } from "https://deno.land/x/evt@v2.3.1/lib/types/index.ts";

Analog to UnpackEvt Unpack the type argument of a Ctx

Type Parameters

Ctx extends CtxLike<any> | undefined | null
definition: Ctx extends CtxLike<infer U> ? U : never