DI Bag API / index / PluginProvider
Type Alias: PluginProvider<T extends readonly DependencyReference[], V, M extends PluginReturnKind>
ts
type PluginProvider<T extends readonly DependencyReference[], V, M extends PluginReturnKind> = Provider<() => M extends 'uninspected' ? V : Promise<Awaited<V>>, Readonly<{}>, readonly [], ReferenceGraph<T>, M extends 'uninspected' ? V : Awaited<V>>;Defined in: plugins.ts:45
The provider contract produced by DiBagApi.createProviderFromPlugin.
Type Parameters
| Type Parameter | Description |
|---|---|
T | - |
V | - |
M | - |
See
https://dany-fedorov.github.io/di-bag/guides/tutorial.html#admit-an-application-selected-plugin