typedoc-plugin-remove-references
Version:
typedoc plugin to remove re-exports references
13 lines (12 loc) • 464 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.load = void 0;
const typedoc_1 = require("typedoc");
function load({ application }) {
application.converter.on(typedoc_1.Converter.EVENT_RESOLVE_BEGIN, (context) => {
for (const reflection of context.project.getReflectionsByKind(typedoc_1.ReflectionKind.Reference)) {
context.project.removeReflection(reflection);
}
});
}
exports.load = load;