UNPKG

@nestjs/microservices

Version:

Nest - modern, fast, powerful node.js web framework (@microservices)

6 lines (5 loc) 573 B
import type { ParameterDecoratorOptions, PipeTransform, Type } from '@nestjs/common'; import 'reflect-metadata'; import { RpcParamtype } from '../enums/rpc-paramtype.enum.js'; export declare function createRpcParamDecorator(paramtype: RpcParamtype): (...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator; export declare const createPipesRpcParamDecorator: (paramtype: RpcParamtype) => (data?: any, optionsOrPipe?: ParameterDecoratorOptions | Type<PipeTransform> | PipeTransform, ...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator;