[T] MaxPropertiesDecorator
type MaxPropertiesDecorator = (context, target, value) => void;
Specify the maximum number of properties this object can have.
Parameters
Parameter | Type | Description |
---|---|---|
context | DecoratorContext | - |
target | Type | ModelProperty | - |
value | number | The maximum number of properties this object can have. |
Returns
void