elcharitas/waxe

View on GitHub
docs/theme/partials/member.signature.title.hbs

Summary

Maintainability
Test Coverage
{{#unless hideName}}{{{wbr name}}}{{/unless}}
{{#if typeParameters}}
    <
    {{#each typeParameters}}
        {{#if @index}}, {{/if}}
        {{name}}
    {{/each}}
    >
{{/if}}
<span class="tsd-signature-symbol">(</span>
{{#each parameters}}
    {{#if @index}},&nbsp;{{/if}}
    {{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
    {{name}}
    <span class="tsd-signature-symbol">
        {{#if flags.isOptional}}?{{/if}}
        {{#if defaultValue}}?{{/if}}
        :&nbsp;
    </span>
    {{#with type}}{{>type}}{{/with}}
{{/each}}
<span class="tsd-signature-symbol">)</span>
{{#if type}}
    {{#if arrowStyle}}
        <span class="tsd-signature-symbol"> =&gt; </span>
    {{else}}
        <span class="tsd-signature-symbol">: </span>
    {{/if}}
    {{#with type}}
        {{>type}}
    {{/with}}
{{/if}}