Skip to content

parseTemplate()

function parseTemplate(input, options?): ReportTemplate;

Parses a template from a JSON string or an already-parsed value. Throws TemplateValidationError when the template is invalid.

Parameter Type
input unknown
options ValidateOptions

ReportTemplate