Type alias TypeD<NeedContext, PluginContext, StartContext>
TypeD
<NeedContext, PluginContext, StartContext>: PluginModuleBase & { init
: ((context
: NeedContext) => [PluginContext, StartContext]); start
: ((context
: LeftJoin<StartContextBase, StartContext>) => void | Promise<void>); }
Type Parameters
-
NeedContext extends Record<string | symbol, any>
-
PluginContext extends Record<string | symbol, any>
-
StartContext extends Record<string | symbol, any>
TypeD are plugins with both
PluginContext
andStartContext
.Deprecated
StartContext will be deprecated. Use closure to pass value to your
start()
instead.