Skip to main content
Module

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

💧EventEmitter's typesafe replacement
Go to Latest
File

import type { NonPostableEvtLike } from "../interfaces/NonPostableEvtLike.ts";import type { SwapEvtType } from "./SwapEvtType.ts";import type { UnpackEvt } from "./UnpackEvt.ts";
/** https://docs.evt.land/api/helpertypes#swapevttype-less-than-e-t-greater-than */export type FactorizeEvt<E extends NonPostableEvtLike<any>> = SwapEvtType<E, UnpackEvt<E>>;