Fake Mirrors
    Preparing search index...

    Type Alias DIFactory<T>

    DIFactory: (container: DIContainer) => T

    A factory function that creates an instance of a dependency.

    Type Parameters

    • T = unknown

      The type of the dependency.

    Type Declaration

      • (container: DIContainer): T
      • Parameters

        • container: DIContainer

          The container used to resolve other dependencies.

        Returns T

        The created instance of the dependency.