• Generate a TypeDoc load function that instantiate the given plugin constructor & call initialize on it. This method's result should be typically exported as load from your plugin.

    From ./packages/plugin-code-blocks/src/load.ts

    import { autoload } from '@knodes/typedoc-pluginutils';

    import { CodeBlockPlugin } from './plugin';

    export const load = autoload( CodeBlockPlugin );

    Returns

    the load function.

    Type Parameters

    Parameters

    • type: (new (application: Application) => T)

      The plugin constructor.

        • new (application: Application): T
        • Parameters

          • application: Application

          Returns T

    Returns ((application: Application) => void)

      • (application: Application): void
      • Parameters

        • application: Application

        Returns void

Generated using TypeDoc