Skip to content

[T] UniqueItemsDecorator

type UniqueItemsDecorator: (context, target) => void;

Specify that every item in the array must be unique.

Parameters

ParameterType
contextDecoratorContext
targetType | ModelProperty

Returns

void