@busy-hour/blaze
Version:
<h1 align='center'>🔥 Blaze</h1> <div align='center'> An event driven framework for 🔥 Hono.js </div>
6 lines (5 loc) • 352 B
TypeScript
import type { ZodSchema } from 'zod';
import type { RecordUnknown } from '../types/common';
import type { Event } from '../types/event';
export declare function createEventValidator<Params extends ZodSchema>(validator: Params): Params;
export declare function createEvent<M extends RecordUnknown, P extends ZodSchema>(event: Event<M, P>): Event<M, P>;