Function: Enumerable()
Enumerable(
value
:boolean
): (target
:object
,key
:string
) =>void
Decorator that sets the enumerable property of a class field to the desired value.
Parameters
Parameter | Type | Description |
---|---|---|
value | boolean | Whether the property should be enumerable or not |
Returns
Function
Parameters
Parameter | Type |
---|---|
target | object |
key | string |
Returns
void