profectus-docs/profectus-theme/resources/partials/member.declaration.hbs
2023-04-17 23:34:32 -05:00

101 lines
No EOL
1.1 KiB
Handlebars

{{{declarationTitle}}}
{{> comment}}
{{#if typeParameters}}
#### Type parameters
{{#with typeParameters}}
{{{typeParameterTable}}}
{{/with}}
{{/if}}
{{#if type.declaration}}
{{#if type.declaration.indexSignature}}
{{#with type.declaration.indexSignature}}
#### Index signature
{{{indexSignatureTitle}}}
{{> comment}}
{{/with}}
{{/if}}
{{#if type.declaration.signatures}}
{{#if type.declaration.children}}
#### Call signature
{{else}}
#### Type declaration
{{/if}}
{{#each type.declaration.signatures}}
{{> member.signature showSources=false }}
{{/each}}
{{/if}}
{{#if type.declaration.children}}
{{#with type.declaration}}
#### Type declaration
{{/with}}
{{#with type.declaration.children}}
{{{typeDeclarationMembers}}}
{{/with}}
{{/if}}
{{/if}}
{{#when this this.kindString 'eq' 'Interface'}}
{{#with this.children}}
{{{typeDeclarationMembers}}}
{{/with}}
{{/when}}
{{#when this this.kindString 'eq' 'Class'}}
{{#with this.children}}
{{{typeDeclarationMembers}}}
{{/with}}
{{/when}}
{{#when this this.kindString 'eq' 'Enumeration'}}
{{#with this.children}}
{{{typeDeclarationMembers}}}
{{/with}}
{{/when}}
{{> member.sources}}