Function: Enumerable()
Enumerable(
value:boolean): (target:unknown,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 | unknown |
key | string |
Returns
void