UNPKG

@nestjs/platform-fastify

Version:

Run NestJS on Fastify: the HTTP adapter with Fastify's plugins, JSON schemas and serialization.

8 lines (7 loc) • 304 B
import { RouteShorthandOptions } from 'fastify'; /** * @publicApi * * @param config See {@link https://fastify.dev/docs/latest/Reference/Routes/#constraints} */ export declare const RouteConstraints: (config: RouteShorthandOptions["constraints"]) => import("@nestjs/common").CustomDecorator<string>;