Skip to content

DependencyToken.constructor

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
API / DependencyToken<T> / constructor

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

public constructor(
  description: string
)

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

Parameters

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