component <%= name %>
<%- unless generics.size.empty? %>
  generic(
      <%= generic_definitions %>
         )
<%- end %>
<%- unless ports.size.empty? %>
  port(
      <%= port_definitions %>
       )
<%- end %>
end component;


component <%= name %>
<%- unless generics.empty? %>
  generic(
      <%= generic_definitions %>
         )
<%- end %>
<%- unless ports.empty? %>
  port(
      <%= port_definitions %>
       )
<%- end %>
end component;


Fix component definition templates typeerror
Fix component definition templates typeerror
