@openxmldev/linq-to-xml
Version:
LINQ to XML for TypeScript
16 lines (15 loc) • 443 B
TypeScript
/**
* A type that offers a well-defined conversion to a string representation.
*/
export declare type Stringifyable = string | number | boolean | Date | StringifyableObject;
/**
* Represents objects that can be converted to strings.
*/
export interface StringifyableObject {
/**
* Gets the object's string representation.
*
* @returns The object's string representation.
*/
toString(): string;
}