"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const handlebars = require("handlebars");
handlebars.registerHelper('hasCommaInValidationFormControl', function (property, validation) {
    if (validation === 'nullable' && (property.length || property.maxLength))
        return ', ';
    if (validation === 'length' && property.maxLength)
        return ', ';
    if (validation === 'maxLength')
        return '';
    return '';
});
