[T] PrefixItemsDecorator
type PrefixItemsDecorator = (context, target, value) => void;
Specify that the target array must begin with the provided types.
Parameters
Parameter | Type | Description |
---|---|---|
context | DecoratorContext | - |
target | Type | ModelProperty | - |
value | Type | A tuple containing the types that must be present at the start of the array |
Returns
void