We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d37b72 + d1a1932 commit 439e9f4Copy full SHA for 439e9f4
avrotize/avrotots/class_core.ts.jinja
@@ -36,7 +36,7 @@ export class {{ class_name }} {
36
public {{ field.name }}{%- if field.type.endswith('?')-%}?{%-endif-%} : {{ field.type_no_null }};
37
{%- endfor %}
38
39
- constructor({%- for field in fields %}{{ field.name }}: {{ field.type_no_null }}{%- if not loop.last %}, {%- endif %}{%- endfor %}) {
+ constructor({%- for field in fields %}{{ field.name }}: {{ field.type_no_null }}{% if not loop.last %}, {% endif %}{%- endfor %}) {
40
{%- for field in fields %}
41
{%- if field.is_enum %}
42
if ( typeof {{ field.name }} === 'number' ) {
0 commit comments