@serenity-is/corelib / Decorators / enumKey
Function: enumKey()
enumKey(
value): (target,_context?) =>void
Defined in: src/types/decorators.ts:82
Attaches an EnumKeyAttribute to an enum.
Parameters
value
string
Lookup key for the enum.
Returns
Class decorator.
(
target,_context?):void
Parameters
target
Function
_context?
any
Returns
void