Skip to content

jin-frame / decorators/fields/Param / Param

Function: Param()

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

Defined in: src/decorators/fields/Param.ts:10

decorator to set class variable to HTTP API path parameter

Parameters

_option?

Partial<Omit<IParamFieldOption, "type">>

Returns

(target, propertyKey): void

Parameters

target

object

propertyKey

string | symbol

Returns

void