profectus-docs/profectus-theme/resources/templates/reflection.hbs

99 lines
No EOL
941 B
Handlebars

{{> header}}
{{> title}}
{{#with model}}
{{#if hasComment}}
{{> comment}}
{{/if}}
{{/with}}
{{#if model.typeParameters}}
## Type parameters
{{#with model.typeParameters}}
{{{typeParameterTable}}}
{{/with}}
{{/if}}
{{#ifShowTypeHierarchy}}
## Hierarchy
{{#with model.typeHierarchy}}
{{{hierarchy 0}}}
{{/with}}
{{/ifShowTypeHierarchy}}
{{#if model.implementedTypes}}
## Implements
{{#each model.implementedTypes}}
- {{{type}}}
{{/each}}
{{/if}}
{{#if model.implementedBy}}
## Implemented by
{{#each model.implementedBy}}
- {{{type}}}
{{/each}}
{{/if}}
{{#if model.signatures}}
## Callable
{{#with model}}
{{#each signatures}}
### {{name}}
{{> member.signature showSources=true }}
{{/each}}
{{/with}}
{{/if}}
{{#if model.indexSignature}}
## Indexable
{{#with model}}
{{#with indexSignature}}
{{{indexSignatureTitle}}}
{{> comment}}
{{/with}}
{{/with}}
{{/if}}
{{#with model}}
{{> main}}
{{/with}}