Skip to content

Commit

Permalink
Update priv/rest.ex.eex
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Sampaio <[email protected]>
  • Loading branch information
onno-vos-dev and philss authored Mar 23, 2024
1 parent 4fb992e commit c2f8369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/rest.ex.eex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule <%= context.module_name %> do
}
<% end %>
"""
@type <%= if map_size(type_fields) == 0 do "#{type_name}() :: %{}" else "#{type_name}() :: %{String.t => any()}" end %>
@type <%= if Enum.empty?(type_fields) do "#{type_name}() :: %{}" else "#{type_name}() :: %{String.t => any()}" end %>
<% end %>

<%= Enum.map(context.actions,
Expand Down

0 comments on commit c2f8369

Please sign in to comment.