interface InjectionKey<T> {
    [toStringTag]: string;
    description: undefined | string;
    [toPrimitive](hint: string): symbol;
    toString(): string;
    valueOf(): symbol;
}

Type Parameters

  • T

Hierarchy

  • Symbol
    • InjectionKey

Properties

[toStringTag]: string
description: undefined | string

Expose the [[Description]] internal slot of a symbol directly.

Methods

  • Converts a Symbol object to a symbol.

    Parameters

    • hint: string

    Returns symbol

  • Returns a string representation of an object.

    Returns string

  • Returns the primitive value of the specified object.

    Returns symbol