Skip to content

[T] PrefixItemsDecorator

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

Specify that the target array must begin with the provided types.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetType | ModelProperty-
valueTypea tuple containing the types that must be present at the start of the array

Returns

void