Provider
type alias in meocord/interface and meocord/testing Since 4.1.0
type Provider<T = any> =
ValueProvider<T> | ClassProvider<T> | FactoryProvider<T>A value @MeoCord({ providers }) or a testing module binds under a token, for classes to @Inject.
A class needs no provider: listing it, or injecting it, binds it. Use a provider for a value that is not a class instance, for one class standing in for another, or for what a function makes.