Skip to content

DependencyToken.constructor

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions
API / DependencyToken<T> / constructor

Initializes a new instance of the DependencyToken<T> class.

public constructor(
  description: string
)

Source reference: src/dependencies/IDependencyResolver.ts:218.

Parameters

  • description: string
    A textual description of the token used in exception messages.
Clone this wiki locally