aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/templates/components/type-component.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/app/templates/components/type-component.hbs')
-rw-r--r--javascript/app/templates/components/type-component.hbs3
1 files changed, 3 insertions, 0 deletions
diff --git a/javascript/app/templates/components/type-component.hbs b/javascript/app/templates/components/type-component.hbs
new file mode 100644
index 0000000..775324e
--- /dev/null
+++ b/javascript/app/templates/components/type-component.hbs
@@ -0,0 +1,3 @@
+{{#if (and expanded identifierInfo)}}({{/if}}
+<span class="source-code {{linkClass}}" onmouseup={{action "onmouseup"}}>{{occName}}</span>
+{{#if (and expanded identifierInfo)}} :: {{type-signature type=identifierInfo.idType identifiers=identifiers noExpand=true}}){{/if}}