@duplicis/types - v1.0.0
    Preparing search index...

    Interface PluginPrototype

    Plugin prototype.

    interface PluginPrototype {
        config<Type extends keyof Map>(
            key: string,
            type: Type,
            options?: Map[Type],
        ): PluginBinding<Type>;
    }

    Hierarchy (View Summary)

    Index
    • create config binding

      Type Parameters

      • Type extends keyof Map

      Parameters

      • key: string

        config key

      • type: Type

        config type

      • Optionaloptions: Map[Type]

        binding options

      Returns PluginBinding<Type>

      binding instance