{% if self.is_unit() -%} {% include "enum_unit.ts.j2" %} {% else -%} {% include "enum_complex.ts.j2" %} {% endif %}