Function: UserId

UserId(...dataOrPipes): ParameterDecorator

Defines HTTP route param decorator

Parameters

NameType
...dataOrPipes(string | PipeTransform<any, any> | Type<PipeTransform<any, any>>)[]

Returns

ParameterDecorator

Public Api

Defined in

lib/node_modules/@nestjs/common/decorators/http/create-route-param-metadata.decorator.d.ts:12