Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
Merge branch 'pr/91'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Jan 12, 2020
2 parents 4f2c0f7 + 6ebc6bd commit f49ff77
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions src/default/partials/type.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -64,28 +64,34 @@
{{/if}}
{{/compact}}
{{else}}
{{#compact}}
<span class="tsd-signature-type">
{{#if name}}
{{name}}
{{else if value}}
"{{value}}"
{{else}}
{{this}}
{{/if}}
</span>
{{#if typeArguments}}
<span class="tsd-signature-symbol">&lt;</span>
{{#if operator}}
{{#compact}}
<span class="tsd-signature-type">{{operator}}&nbsp;{{#with target}}{{>type}}{{/with}}</span>
{{/compact}}
{{else}}
{{#compact}}
<span class="tsd-signature-type">
{{#if name}}
{{name}}
{{else if value}}
"{{value}}"
{{else}}
{{this}}
{{/if}}
</span>
{{#if typeArguments}}
<span class="tsd-signature-symbol">&lt;</span>

{{#each typeArguments}}
{{#if @index}}
<span class="tsd-signature-symbol">, </span>
{{/if}}{{> type}}
{{/each}}
{{#each typeArguments}}
{{#if @index}}
<span class="tsd-signature-symbol">, </span>
{{/if}}{{> type}}
{{/each}}

<span class="tsd-signature-symbol">&gt;</span>
{{/if}}
{{/compact}}
<span class="tsd-signature-symbol">&gt;</span>
{{/if}}
{{/compact}}
{{/if}}
{{/ifCond}}
{{/if}}
{{/if}}
Expand Down

0 comments on commit f49ff77

Please sign in to comment.