@serenity-is/corelib / Decorators / option
Function: option()
option(): (
target,propertyKey) =>void
Defined in: src/types/decorators.ts:89
Marks a property/field as a reflective option (adds OptionAttribute).
Returns
Property decorator.
(
target,propertyKey):void
Parameters
target
Object
propertyKey
string
Returns
void