Skip to content

[T] MaxPropertiesDecorator

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

Specify the maximum number of properties this object can have.

Parameters

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

Returns

void