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

Commit

Permalink
feat: Support for query types
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Jan 17, 2020
1 parent d32a30c commit aeddd5c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/default/partials/type.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ if an inner type may result in invalid output without them. For example:
{{/if}}
{{/inline}}

{{#*inline 'query'}}
<span class="tsd-signature-symbol">typeof </span>
{{#with queryType}}
{{> type}}
{{/with}}
{{/inline}}

{{#*inline 'reference'}}
{{#if reflection}}
<a href="{{relativeURL reflection.url}}" class="tsd-signature-type">
Expand Down Expand Up @@ -126,7 +133,7 @@ if an inner type may result in invalid output without them. For example:
{{/with}}
{{/each}}
<span class="tsd-signature-symbol"> }</span>
{{else}}
{{else if declaration.signatures}}
{{#if (lookup declaration.signatures 1) }} {{! more than one signature}}
<span class="tsd-signature-symbol">{ </span>
{{#each declaration.signatures}}
Expand All @@ -147,6 +154,8 @@ if an inner type may result in invalid output without them. For example:
<span class="tsd-signature-symbol">)</span>
{{/if}}
{{/if}}
{{else}}
<span class="tsd-signature-symbol">{}</span>
{{/if}}
{{/inline}}

Expand Down

0 comments on commit aeddd5c

Please sign in to comment.