Class Token<T>

Used to create unique typed service identifier. Useful when service has only interface, but don't have a class.

Type Parameters

  • T

Hierarchy

  • Token

Constructors

Properties

Constructors

  • Type Parameters

    • T

    Parameters

    • Optional name: string

      Token name, optional and only used for debugging purposes.

    Returns Token<T>

Properties

name?: string

Token name, optional and only used for debugging purposes.

Generated using TypeDoc