UNPKG

@tunnel-cast/nestjs

Version:

## About This is a Tunnel-Cast - NestJS integration package, wrap the `cast` application into the `NestJS` building blocks.

7 lines (6 loc) 473 B
import { Type } from "@nestjs/common"; import { HttpPayloadType } from "./../enums"; declare type CastParamDecorator = <T>(model?: Type<T> | string) => ParameterDecorator; export declare function CastParameterDecoratorFactory(extractionPath?: string, payloadType?: HttpPayloadType): CastParamDecorator; export declare const CastParameterDecorator: <T>(extractionPath?: string, payloadType?: HttpPayloadType) => (...dataOrPipes: unknown[]) => ParameterDecorator; export {};