evt
Version:
Type safe replacement for node's EventEmitter
15 lines (9 loc) • 326 B
text/typescript
import type { Ctx } from "./Ctx";
import type { Evt } from "./Evt";
import type { StatefulEvt } from "./StatefulEvt";
/** Manually handling circular import so React Native does not gives warning. */
export const importProxy: {
Ctx: typeof Ctx;
Evt: typeof Evt;
StatefulEvt: typeof StatefulEvt;
} = {} as any;