Skip to main content

validateTemplate

Summary

Validate a template file for syntax errors

Signature

validateTemplate(templatePath: string): {
        valid: boolean;
        errors: string[];
    };

Parameters

templatePath

Type:string

Returns

Type:
{
        valid: boolean;
        errors: string[];
    }
Validate a template file for syntax errors