GetPluginFromUnionByName
Filters all plugins that do not match the given name from a union.
type GetPluginFromUnionByName<TPluginsUnion, TPluginName extends string> = TPluginsUnion extends {
name: TPluginName;
} ? TPluginsUnion : never;Filters all plugins that do not match the given name from a union.