ContextOf

Signature

export type ContextOf<TPlugins extends readonly AnySeyfertPlugin[]> = UnionToIntersection<PluginContextOf<PluginTupleClosure<TPlugins>>>;

Private types

UnionToIntersectionTypeAlias
type UnionToIntersection<T> = (T extends unknown ? (value: T) => void : never) extends (value: infer R) => void ? R : never;
PluginTupleClosureTypeAlias
type PluginTupleClosure<TPlugins extends readonly AnySeyfertPlugin[]> = PluginClosureOf<TPlugins[number]>;
PluginClosureOfTypeAlias
type PluginClosureOf<T, Depth extends number = 5> = [    Depth] extends [    0] ? T : T | PluginClosureOf<PluginImportsOf<T>, PluginClosureDepth[Depth]>;
PluginImportsOfTypeAlias
type PluginImportsOf<T> = T extends SeyfertPlugin<any, any, infer I, any> ? I[number] : never;
PluginClosureDepthTypeAlias
type PluginClosureDepth = [    never,    0,    1,    2,    3,    4,    5];

Members

This export does not declare public properties or methods in the generated declaration file.