ft_transcendence/pong/node_modules/@nestjs/websockets/utils/param.utils.d.ts
2023-05-02 19:15:50 +02:00

6 lines
451 B
TypeScript

import { PipeTransform, Type } from '@nestjs/common';
import 'reflect-metadata';
import { WsParamtype } from '../enums/ws-paramtype.enum';
export declare function createWsParamDecorator(paramtype: WsParamtype): (...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator;
export declare const createPipesWsParamDecorator: (paramtype: WsParamtype) => (data?: any, ...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator;