skip trailing comma for enums

This commit is contained in:
Marc Brugger 2016-01-14 14:06:00 +01:00
parent f1710a1840
commit 198310d5f2

View File

@ -31,7 +31,7 @@ export namespace {{classname}} {
{{#vars}}
{{#isEnum}}
export enum {{datatypeWithEnum}} { {{#allowableValues}}{{#values}}
{{.}} = <any> '{{.}}',{{/values}}{{/allowableValues}}
{{.}} = <any> '{{.}}'{{^-last}},{{/-last}}{{/values}}{{/allowableValues}}
}
{{/isEnum}}
{{/vars}}