Skip to content
GitHub

ProviderToken

type alias in meocord/interface and meocord/testing Since 4.1.0

type ProviderToken<T = unknown> =
  (abstract new (...args: any[]) => T) | string | symbol | Token<T>

What a provider is bound under and injected by: a class, a string, a symbol, or a typed Token.

See also