Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/helper/EvtLikeToEvt.ts

💧EventEmitter's typesafe replacement
Latest
File

import type { NonPostableEvtLike } from "../interfaces/index.ts";import type { SwapEvtType } from "./SwapEvtType.ts";import type { UnpackEvt } from "./UnpackEvt.ts";
export type EvtLikeToEvt<E extends NonPostableEvtLike<any>> = SwapEvtType<E, UnpackEvt<E>>;