TextTemplateConverter class

Text template converter that implements Converter.

Methods

convert(string | TextTemplate)

Converts a string to a TextTemplate instance.

Method Details

convert(string | TextTemplate)

Converts a string to a TextTemplate instance.

function convert(value: string | TextTemplate): TextTemplate

Parameters

value

string | TextTemplate

The template to evaluate to create text.

Returns

A new TextTemplate instance.