UNPKG

@tsed/common

Version:
14 lines (13 loc) 331 B
import { Type } from "@tsed/core"; import { IPipe } from "../../models/ParamMetadata"; /** * Register a Pipe to be used with the current decorated param. * * @param token * @param options * @decorator * @operation * @input * @pipe */ export declare function UsePipe(token: Type<IPipe>, options?: any): ParameterDecorator;