aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/templates/components/type-signature-text.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/app/templates/components/type-signature-text.hbs')
-rw-r--r--javascript/app/templates/components/type-signature-text.hbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/javascript/app/templates/components/type-signature-text.hbs b/javascript/app/templates/components/type-signature-text.hbs
new file mode 100644
index 0000000..505a466
--- /dev/null
+++ b/javascript/app/templates/components/type-signature-text.hbs
@@ -0,0 +1,2 @@
+{{!-- No newlines to get rid of spaces between spans --}}
+{{#each components as |typeComponent|}}{{#if (eq typeComponent.tag "Text")}}{{typeComponent.contents}}{{else}}{{typeComponent.name}}{{/if}}{{/each}}