aboutsummaryrefslogtreecommitdiff
path: root/node_modules/typedoc-default-themes/bin/minimal/partials/member.signature.body.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/typedoc-default-themes/bin/minimal/partials/member.signature.body.hbs')
-rw-r--r--node_modules/typedoc-default-themes/bin/minimal/partials/member.signature.body.hbs56
1 files changed, 56 insertions, 0 deletions
diff --git a/node_modules/typedoc-default-themes/bin/minimal/partials/member.signature.body.hbs b/node_modules/typedoc-default-themes/bin/minimal/partials/member.signature.body.hbs
new file mode 100644
index 000000000..fdde257d0
--- /dev/null
+++ b/node_modules/typedoc-default-themes/bin/minimal/partials/member.signature.body.hbs
@@ -0,0 +1,56 @@
+{{#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>&nbsp;
+ {{/each}}
+ {{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
+ {{name}}:&nbsp;
+ {{#with type}}{{>type}}{{/with}}
+ {{#if defaultValue}}
+ <span class="tsd-signature-symbol">
+ &nbsp;=&nbsp;
+ {{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 {{#with type}}{{>type}}{{/with}}</h4>
+
+ {{#if comment.returns}}
+ {{#markdown}}{{{comment.returns}}}{{/markdown}}
+ {{/if}}
+
+ {{#if type.declaration}}
+ {{#with type.declaration}}
+ {{> parameter}}
+ {{/with}}
+ {{/if}}
+{{/if}} \ No newline at end of file