[T] ContentSchemaDecorator
type ContentSchemaDecorator = (context, target, value) => void;
Specify the schema for the contents of a string when interpreted according to the contentโs media type and encoding.
Parameters
Parameter | Type | Description |
---|---|---|
context | DecoratorContext | - |
target | Scalar | ModelProperty | - |
value | Type | The schema of the string contents |
Returns
void