Modelina
    Preparing search index...

    Interface CommonGeneratorOptions<P, DependencyManager>

    interface CommonGeneratorOptions<
        P extends Preset = Preset,
        DependencyManager extends
            AbstractDependencyManager = AbstractDependencyManager,
    > {
        defaultPreset?: P;
        dependencyManager?: DependencyManager
        | (() => DependencyManager);
        indentation?: { size: number; type: IndentationTypes };
        presets?: Presets<P>;
        processorOptions?: ProcessorOptions;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    defaultPreset?: P
    dependencyManager?: DependencyManager | (() => DependencyManager)

    This dependency manager type serves two functions.

    1. It can be used to provide a factory for generate functions
    2. It can be used to provide a single instance of a dependency manager, to add all dependencies together

    This depends on context and where it's used.

    indentation?: { size: number; type: IndentationTypes }
    presets?: Presets<P>
    processorOptions?: ProcessorOptions