Function createDependency

  • Instantiates this class using dependency injection.

    Type Parameters

    • T extends object

    Parameters

    • ctor: Constructor<T>
    • options: DependencyResolutionOptions = {}

    Returns T