UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

14 lines (11 loc) 283 B
import { FastifyReply } from "fastify"; import { Request } from "./request"; export type Handler< TBody = void, TQuerystring = void, TParams = void, THeaders = void > = ( request: Request<TBody, TQuerystring, TParams, THeaders>, reply: FastifyReply ) => Promise<void>;