Skip to content

jin-frame / decorators/fields/Param / Param

Function: Param() ​

Param(_option?): (target, propertyKey) => void

Defined in: packages/jin-frame/src/decorators/fields/Param.ts:10

decorator to set class variable to HTTP API path parameter

Parameters ​

_option? ​

Partial<Omit<ParamFieldOption, "type">>

Returns ​

(target, propertyKey): void

Parameters ​

target ​

object

propertyKey ​

string | symbol

Returns ​

void