Interface Stringable

Stringable objects support stringifying its contents and includes a toString method to do so. Used in conjunction with other types.

interface Stringable {
    toString: (() => string);
}

Properties

Properties

toString: (() => string)

Type declaration

    • (): string
    • Returns string