Type alias UcsFormatter<T, TSchema>

UcsFormatter<out T, out TSchema>: {
    format(this, args, schema, context) => EsSnippet;
}["format"]

Type formatter generates code for type instance formatting.

Type Parameters

  • out T = unknown

    Implied data type.

  • out TSchema extends UcSchema<T> = UcSchema<T>

    Schema type.

Param

Serializer argument values.

Param

Schema of serialized value.

Param

Formatter context.

Returns

Serializer code snippet, or undefined if the value serializer can not be generated.

Generated using TypeDoc