{% macro typeList(types) -%} {% for typeName in types %}{$ typeName | escape $}{% endfor %} {%- endmacro -%} {%- macro paramTable(params) %}
Param | Type | Details |
---|---|---|
{$ param.name $}
{% if param.alias %}| {$ param.alias $}{% endif %}
{% if param.optional %} (optional) {% endif %}
|
{$ typeList(param.typeList) $} |
{$ param.description | marked $}
{% if param.defaultValue %} (default: {$ param.defaultValue $}) {% endif %} |
{$ typeList(fn.typeList) $} | {$ fn.description | marked $} |