Function: Enumerable()
Enumerable(
value:boolean): (target:object,key:string) =>void
Defined in: base-decorators.ts:7
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
(
target:object,key:string):void
Parameters
| Parameter | Type |
|---|---|
target | object |
key | string |
Returns
void