API Reference
Rockets Core API
nestjs-crud
functions
CrudUpdateOne

Function: CrudUpdateOne()

CrudUpdateOne(options): <TFunction, Y>(target, propertyKey?, descriptor?) => void

CRUD Update One route decorator

Parameters

ParameterType
optionsCrudUpdateOneOptionsInterface

Returns

Function

Type Parameters

Type Parameter
TFunction extends Function
Y

Parameters

ParameterType
targetobject | TFunction
propertyKey?string | symbol
descriptor?TypedPropertyDescriptor<Y>

Returns

void

Defined in

packages/nestjs-crud/src/decorators/actions/crud-update-one.decorator.ts:18 (opens in a new tab)