@luolapeikko/ts-common
    Preparing search index...

    Interface IToString<T>

    Interface for objects that can be converted to a string.

    class MyClass implements IToString {}
    

    v0.0.1

    interface IToString<T extends string = string> {
        toString(): T;
    }

    Type Parameters

    • T extends string = string

      The type of the string

    Index

    Methods

    Methods