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

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

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