@kayahr/di
    Preparing search index...

    Class InjectionToken<Value>

    Typed token for identifying one dependency independently of its implementation class.

    Type Parameters

    • Value = unknown

      The resolved dependency type.

    Index

    Constructors

    Methods

    Constructors

    • Creates a new injection token.

      Type Parameters

      • Value = unknown

        The resolved dependency type.

      Parameters

      • description: string | null = null

        Optional human-readable description used in debug output.

      Returns InjectionToken<Value>

    Methods

    • Returns a compact debug representation of the token.

      Returns string

      The debug string used in error messages and qualifier rendering.