@lppedd/di-wise-neo - v0.11.1
    Preparing search index...

    Function optionalAll

    • Injects all instances provided by the registrations associated with the given class, or an empty array if the class is not registered in the container.

      Type Parameters

      • Instance extends object

      Parameters

      Returns Instance[]

    • Injects all values provided by the registrations associated with the given token, or an empty array if the token is not registered in the container.

      Type Parameters

      • Value

      Parameters

      Returns NonNullable<Value>[]