@microsoft/api-extractor
Version:
Validate, document, and review the exported API for a TypeScript library
17 lines • 659 B
JavaScript
;
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
/**
* For a symbol that was imported from an external package, this tracks the import
* statement that was used to reach it.
*/
class AstImport {
constructor(parameters) {
this.modulePath = parameters.modulePath;
this.exportName = parameters.exportName;
this.key = `${this.modulePath}:${this.exportName}`;
}
}
exports.AstImport = AstImport;
//# sourceMappingURL=AstImport.js.map