Type alias PluginNameFromPlugins<TPlugins, TPlugin, TPluginDefinition>Internal

PluginNameFromPlugins<TPlugins, TPlugin, TPluginDefinition>: TPluginDefinition extends {
        name: infer U;
    }
    ? U | string & {}
    : string

Utility type to infer the type of the plugin names available in a list of plugins.

This type is used internally to determine the type of the plugin names available in a conversation. It should have no use outside of the library.

Type Parameters

Generated using TypeDoc