@microsoft/api-extractor
Version:
Analyze the exported API for a TypeScript library and generate reviews, documentation, and .d.ts rollups
21 lines • 919 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* Stores the Collector's additional analysis for a specific `AstDeclaration` signature. This object is assigned to
* `AstDeclaration.declarationMetadata` but consumers must always obtain it by calling
* `Collector.fetchDeclarationMetadata()`.
*
* Note that ancillary declarations share their `ApiItemMetadata` with the main declaration,
* whereas a separate `DeclarationMetadata` object is created for each declaration.
*/
export class DeclarationMetadata {
}
/**
* Used internally by the `Collector` to build up `DeclarationMetadata`.
*/
export class InternalDeclarationMetadata extends DeclarationMetadata {
tsdocParserContext = undefined;
isAncillary = false;
ancillaryDeclarations = [];
}
//# sourceMappingURL=DeclarationMetadata.js.map