Javascript.es6.enumClass.mustache Maven / Gradle / Ivy
{{#emitJSDoc}} /**
* Allowed values for the {{baseName}}
property.
* @enum {{=<% %>=}}{<%datatype%>}<%={{ }}=%>
* @readonly
*/{{/emitJSDoc}}
export {{datatypeWithEnum}} = {
{{#allowableValues}}
{{#enumVars}}
{{#emitJSDoc}}
/**
* value: {{{value}}}
* @const
*/
{{/emitJSDoc}}
"{{name}}": {{{value}}}{{^-last}},
{{/-last}}
{{/enumVars}}
{{/allowableValues}}
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy