Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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
;

§Type Parameters

§
TPluginsUnion
[src]
§
TPluginName extends string
[src]

§Type

§
TPluginsUnion extends {
name: TPluginName;
}
? TPluginsUnion : never
[src]