You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.6 KiB
57 lines
1.6 KiB
3 years ago
|
{{#unless hideSources}}
|
||
|
{{> member.sources}}
|
||
|
{{/unless}}
|
||
|
|
||
|
{{> comment}}
|
||
|
|
||
|
{{#if typeParameters}}
|
||
|
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
||
|
{{> typeParameters}}
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if parameters}}
|
||
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
|
<ul class="tsd-parameters">
|
||
|
{{#each parameters}}
|
||
|
<li>
|
||
|
<h5>{{#compact}}
|
||
|
{{#each flags}}
|
||
|
<span class="tsd-flag ts-flag{{this}}">{{this}}</span>
|
||
|
{{/each}}
|
||
|
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
|
||
|
{{name}}:
|
||
|
{{#with type}}{{>type}}{{/with}}
|
||
|
{{#if defaultValue}}
|
||
|
<span class="tsd-signature-symbol">
|
||
|
=
|
||
|
{{defaultValue}}
|
||
|
</span>
|
||
|
{{/if}}
|
||
|
{{/compact}}</h5>
|
||
|
|
||
|
{{> comment}}
|
||
|
|
||
|
{{#if type.declaration}}
|
||
|
{{#with type.declaration}}
|
||
|
{{> parameter}}
|
||
|
{{/with}}
|
||
|
{{/if}}
|
||
|
</li>
|
||
|
{{/each}}
|
||
|
</ul>
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if type}}
|
||
|
<h4 class="tsd-returns-title">Returns {{#compact}}{{#with type}}{{>type}}{{/with}}{{/compact}}</h4>
|
||
|
|
||
|
{{#if comment.returns}}
|
||
|
{{#markdown}}{{{comment.returns}}}{{/markdown}}
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if type.declaration}}
|
||
|
{{#with type.declaration}}
|
||
|
{{> parameter}}
|
||
|
{{/with}}
|
||
|
{{/if}}
|
||
|
{{/if}}
|