Type alias initializeForTest<NeedContext, PluginContext, StartContext>
initializeForTest<in NeedContext, PluginContext, StartContext>: ((context?: NeedContext) => [PluginContext, StartContext?])
Type Parameters
-
in NeedContext extends Record<string | symbol, any>
-
PluginContext extends Record<string | symbol, any> | undefined
-
StartContext extends Record<string | symbol, any> | undefined
Type declaration
-
- (context?: NeedContext): [PluginContext, StartContext?]
-
Parameters
-
Optional
context: NeedContext
Returns [PluginContext, StartContext?]