aboutsummaryrefslogtreecommitdiff
path: root/node_modules/typedoc-default-themes/bin/default/templates/reflection.hbs
blob: cdfd9c1ec1a611437f52e8602bf996f67727a08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{{#with model}}
    {{#if hasComment}}
        <section class="tsd-panel tsd-comment">
            {{> comment}}
        </section>
    {{/if}}
{{/with}}

{{#if model.typeParameters}}
    <section class="tsd-panel tsd-type-parameters">
        <h3>Type parameters</h3>
        {{#with model}}{{> typeParameters}}{{/with}}
    </section>
{{/if}}

{{#if model.typeHierarchy}}
    <section class="tsd-panel tsd-hierarchy">
        <h3>Hierarchy</h3>
        {{#with model.typeHierarchy}}{{> hierarchy}}{{/with}}
    </section>
{{/if}}

{{#if model.implementedTypes}}
    <section class="tsd-panel">
        <h3>Implements</h3>
        <ul class="tsd-hierarchy">
            {{#each model.implementedTypes}}
                <li>{{> type}}</li>
            {{/each}}
        </ul>
    </section>
{{/if}}

{{#if model.implementedBy}}
    <section class="tsd-panel">
        <h3>Implemented by</h3>
        <ul class="tsd-hierarchy">
            {{#each model.implementedBy}}
                <li>{{> type}}</li>
            {{/each}}
        </ul>
    </section>
{{/if}}

{{#if model.signatures}}
    <section class="tsd-panel">
        <h3 class="tsd-before-signature">Callable</h3>
        {{#with model}}{{> member.signatures}}{{/with}}
    </section>
{{/if}}

{{#if model.indexSignature}}
    <section class="tsd-panel {{model.cssClasses}}">
        <h3 class="tsd-before-signature">Indexable</h3>
        <div class="tsd-signature tsd-kind-icon">{{#compact}}
            <span class="tsd-signature-symbol">[</span>
            {{#each model.indexSignature.parameters}}
                {{name}}:&nbsp;{{#with type}}{{>type}}{{/with}}
            {{/each}}
            <span class="tsd-signature-symbol">]:&nbsp;</span>
            {{#with model.indexSignature.type}}{{>type}}{{/with}}
        {{/compact}}</div>

        {{#with model.indexSignature}}
            {{> comment}}
        {{/with}}

        {{#if model.indexSignature.type.declaration}}
            {{#with model.indexSignature.type.declaration}}
                {{> parameter}}
            {{/with}}
        {{/if}}
    </section>
{{/if}}

{{#with model}}
    {{> index}}
    {{> members}}
{{/with}}