DI Bag API / index / PluginOutputValidator
Type Alias: PluginOutputValidator<V>
ts
type PluginOutputValidator<V> = (this: void, pluginOutput: unknown) => pluginOutput is V;Defined in: plugins.ts:40
A synchronous predicate that admits an unknown plugin output as a service type.
Type Parameters
| Type Parameter | Description |
|---|---|
V | - |
Parameters
| Parameter | Description |
|---|---|
this | - |
pluginOutput | - |
See
https://dany-fedorov.github.io/di-bag/guides/tutorial.html#admit-an-application-selected-plugin