-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
* Adding code for detecting collisions in parameter names * Generation * Move logic into append_out_param * Use parameter name instead of terminusArgs * Generation * Formatting * Useless comment * Formatting
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
export function {{function_name}}( | ||
{%- if typescript %}{%- for param in out_params -%} | ||
{%- for param in out_params -%} | ||
{{param.param_name}}{% if typescript %}: {{param.type_name}}{% endif %}{% if !loop.last %}, {% endif %} | ||
{%- endfor -%}{% endif -%} | ||
{%- endfor -%} | ||
){% if typescript %};{% else %} { | ||
var terminusArgs = arguments; | ||
return {{node_call_stack|indent(4)}}; | ||
} | ||
{%- endif %} |