Skip to content

ResolvableSimpleDependency

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions
API / ResolvableSimpleDependency<T> alias

Represents a resolvable dependency, this being an already resolved instance which is returned immediatelly, a dependency token, a basic or a simple dependency.

Resolvable dependencies provide an option where a dependency is resolved, but if there is an edge case where said dependency was already resolved in a different way, it is provided through the same call allowing for different use cases.

type ResolvableSimpleDependency<T>
= Exclude<T, Function>
| DependencyToken<T>
| BasicDependency<T>
| SimpleDependency<T>;

Source reference: src/dependencies/IDependencyResolver.ts:64.

Generic Parameters

  • T - The resolvable dependency type.

See also

Clone this wiki locally