Type alias TypeD<NeedContext, PluginContext, StartContext>

TypeD<NeedContext, PluginContext, StartContext>: PluginModuleBase & {
    init: ((context: NeedContext) => [PluginContext, StartContext]);
    start: ((context: LeftJoin<StartContextBase, StartContext>) => void | Promise<void>);
}

TypeD are plugins with both PluginContext and StartContext.

Deprecated

StartContext will be deprecated. Use closure to pass value to your start() instead.

Type Parameters

  • NeedContext extends Record<string | symbol, any>

  • PluginContext extends Record<string | symbol, any>

  • StartContext extends Record<string | symbol, any>

Generated using TypeDoc