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