@pvm/di
Intermediate module for @tinkoff/dippy that is used for di functionality providing
Functions
declarePlugin
โธ declarePlugin(opts
): { configExt
: RecursivePartial
<Config
> ; factory
: PluginFactory
; name
: string
= __filename } | { factory
: PluginFactory
; name
: string
= __filename } | { configExt
: RecursivePartial
<Config
> ; name
: string
= __filename }
Parameters
Name | Type |
---|---|
opts | { configExt : RecursivePartial <Config > ; factory : PluginFactory } | { factory : PluginFactory } | { configExt : RecursivePartial <Config > } |
Returns
{ configExt
: RecursivePartial
<Config
> ; factory
: PluginFactory
; name
: string
= __filename } | { factory
: PluginFactory
; name
: string
= __filename } | { configExt
: RecursivePartial
<Config
> ; name
: string
= __filename }