mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
33 lines
848 B
Handlebars
33 lines
848 B
Handlebars
{{#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}}, {{/if}}
|
|
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
|
|
{{name}}
|
|
<span class="tsd-signature-symbol">
|
|
{{#if flags.isOptional}}?{{/if}}
|
|
{{#if defaultValue}}?{{/if}}
|
|
:
|
|
</span>
|
|
{{#with type}}{{>type}}{{/with}}
|
|
{{/each}}
|
|
<span class="tsd-signature-symbol">)</span>
|
|
{{#if type}}
|
|
{{#if arrowStyle}}
|
|
<span class="tsd-signature-symbol"> => </span>
|
|
{{else}}
|
|
<span class="tsd-signature-symbol">: </span>
|
|
{{/if}}
|
|
{{#with type}}
|
|
{{>type}}
|
|
{{/with}}
|
|
{{/if}}
|