Skip to content

DependencyFactoryCallback

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

Represents a callback for initializing dependencies.

type DependencyFactoryCallback<T>
  = (dependecyResolver: IDependencyResolver) => T;

Source reference: src/dependencies/IDependencyContainer.ts:30.

Generic Parameters

  • T - The dependency type that is resolved.

See also

Clone this wiki locally