Skip to content

[T] MaxPropertiesDecorator

type MaxPropertiesDecorator = (context, target, value) => void;

Specify the maximum number of properties this object can have.

ParameterTypeDescription
contextDecoratorContext-
targetType | ModelProperty-
valuenumberThe maximum number of properties this object can have.

void