UNPKG

1.44 kBTypeScriptView Raw
1import { DocNodeKind, DocNode } from './DocNode';
2import { DocDeclarationReference } from './DocDeclarationReference';
3import { DocInlineTagBase, IDocInlineTagBaseParsedParameters, IDocInlineTagBaseParameters } from './DocInlineTagBase';
4/**
5 * Constructor parameters for {@link DocInheritDocTag}.
6 */
7export interface IDocInheritDocTagParameters extends IDocInlineTagBaseParameters {
8 declarationReference?: DocDeclarationReference;
9}
10/**
11 * Constructor parameters for {@link DocInheritDocTag}.
12 */
13export interface IDocInheritDocTagParsedParameters extends IDocInlineTagBaseParsedParameters {
14 declarationReference?: DocDeclarationReference;
15}
16/**
17 * Represents an `{@inheritDoc}` tag.
18 */
19export declare class DocInheritDocTag extends DocInlineTagBase {
20 private readonly _declarationReference;
21 /**
22 * Don't call this directly. Instead use {@link TSDocParser}
23 * @internal
24 */
25 constructor(parameters: IDocInheritDocTagParameters | IDocInheritDocTagParsedParameters);
26 /** @override */
27 get kind(): DocNodeKind | string;
28 /**
29 * The declaration that the documentation will be inherited from.
30 * If omitted, the documentation will be inherited from the parent class.
31 */
32 get declarationReference(): DocDeclarationReference | undefined;
33 /** @override */
34 protected getChildNodesForContent(): ReadonlyArray<DocNode | undefined>;
35}
36//# sourceMappingURL=DocInheritDocTag.d.ts.map
\No newline at end of file