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

Commit f49ff77

Browse files
committed
Merge branch 'pr/91'
2 parents 4f2c0f7 + 6ebc6bd commit f49ff77

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

src/default/partials/type.hbs

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,28 +64,34 @@
6464
{{/if}}
6565
{{/compact}}
6666
{{else}}
67-
{{#compact}}
68-
<span class="tsd-signature-type">
69-
{{#if name}}
70-
{{name}}
71-
{{else if value}}
72-
"{{value}}"
73-
{{else}}
74-
{{this}}
75-
{{/if}}
76-
</span>
77-
{{#if typeArguments}}
78-
<span class="tsd-signature-symbol">&lt;</span>
67+
{{#if operator}}
68+
{{#compact}}
69+
<span class="tsd-signature-type">{{operator}}&nbsp;{{#with target}}{{>type}}{{/with}}</span>
70+
{{/compact}}
71+
{{else}}
72+
{{#compact}}
73+
<span class="tsd-signature-type">
74+
{{#if name}}
75+
{{name}}
76+
{{else if value}}
77+
"{{value}}"
78+
{{else}}
79+
{{this}}
80+
{{/if}}
81+
</span>
82+
{{#if typeArguments}}
83+
<span class="tsd-signature-symbol">&lt;</span>
7984

80-
{{#each typeArguments}}
81-
{{#if @index}}
82-
<span class="tsd-signature-symbol">, </span>
83-
{{/if}}{{> type}}
84-
{{/each}}
85+
{{#each typeArguments}}
86+
{{#if @index}}
87+
<span class="tsd-signature-symbol">, </span>
88+
{{/if}}{{> type}}
89+
{{/each}}
8590

86-
<span class="tsd-signature-symbol">&gt;</span>
87-
{{/if}}
88-
{{/compact}}
91+
<span class="tsd-signature-symbol">&gt;</span>
92+
{{/if}}
93+
{{/compact}}
94+
{{/if}}
8995
{{/ifCond}}
9096
{{/if}}
9197
{{/if}}

0 commit comments

Comments
 (0)