Skip to main content
Module

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

💧EventEmitter's typesafe replacement
Go to 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>>;