Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

💧EventEmitter's typesafe replacement
Go to Latest
type alias UnpackCtx
import { type UnpackCtx } from "https://deno.land/x/evt@v2.5.3/lib/types/helper/UnpackCtx.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