Description
Hierarchy
- Description
Implements
- Stringifiable
- Stringifiable
Index
Constructors
Properties
Methods
Constructors
constructor
+ new Description(props
: object): Description
Creates an instance of Description. Creates an instance of Description.
Parameters:
▪ props: object
Available descriptions for value as properties object.
Name | Type |
---|---|
message | string |
type? | string |
value? | string |
Returns: Description
Properties
message
• message: string
Optional
type
• type? : string
Optional
value
• value? : string
Methods
toString
▸ toString(): string
Implementation of Stringifiable
Converts description in to string.
Returns: string
Returns message as a string.