UNPKG

457 BTypeScriptView Raw
1import { PipeTransform, Type } from '@nestjs/common';
2import 'reflect-metadata';
3import { RpcParamtype } from '../enums/rpc-paramtype.enum';
4export declare function createRpcParamDecorator(paramtype: RpcParamtype): (...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator;
5export declare const createPipesRpcParamDecorator: (paramtype: RpcParamtype) => (data?: any, ...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator;