@ckeditor/typedoc-plugins
Version:
Various TypeDoc plugins developed by the CKEditor 5 team.
14 lines (13 loc) • 666 B
TypeScript
/**
* @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-restore-program-after-conversion` restores TypeScript program used for source conversion.
*
* TypeDoc at some point, after the source compilation and conversion is finished, deletes the `context.program` property.
* This operation prevents from using custom TypeDoc plugins, which listen to `EVENT_END` event, because some TypeDoc internals
* require that `context.program` exists.
*/
export declare function typeDocRestoreProgramAfterConversion(app: Application): void;