UNPKG

@ckeditor/typedoc-plugins

Version:
18 lines (17 loc) 1.07 kB
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. */ import { type Application } from "typedoc"; /** * The `typedoc-plugin-reference-fixer` tries to fix a case when TypeDoc incorrectly assigns reflections that are re-exported from another * file as a default export. In such case TypeDoc adds reflection declaration to the file containing the re-export and the actual source * file contains only a reference targeting the declaration from the re-exported file. * * This plugin works as follows: * - It searches for reflection declarations defined in "index" modules. Then, all such reflections are moved to the correct place where * they are defined in the source code. References are moved to "index" modules where they are re-exported. * - The exception is the `ckeditor5-icons` package, which contains only references in "index" module. For this case, reflection * declarations which represent icons are created manually. */ export declare function typeDocReferenceFixer(app: Application): void;