Skip to content

UsePipe

@tsed/platform-params

Usage

typescript
import { UsePipe } from "@tsed/platform-params";

See /packages/platform/platform-params/src/types/decorators/usePipe.ts.

Overview

ts
function UsePipe(token: Type<PipeMethods>, options?: any): ParameterDecorator;

Description

Register a Pipe to be used with the current decorated param.

Released under the MIT License.