UNPKG

@tunnel-cast/nestjs

Version:

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

11 lines (10 loc) 526 B
import { ArgumentMetadata, PipeTransform } from "@nestjs/common"; import { CastModuleOptions } from "../interfaces"; import { MetadataStorage } from "../storage"; import { CastPipeTransformValue } from "../interfaces/cast-pipe-transform-value"; export declare class CastPipe<Result = any> implements PipeTransform<any, Result> { private storage; private options; constructor(storage: MetadataStorage, options: CastModuleOptions); transform(value: CastPipeTransformValue, metadata: ArgumentMetadata): Result; }