DebugDescriber
Hierarchy
- DebugDescriber
Implements
- TypeDescriber
- TypeDescriber
Index
Constructors
Methods
Constructors
constructor
+ new DebugDescriber(options?: object): DebugDescriber
Creates an instance of DebugDescriber. Creates an instance of DebugDescriber.
Parameters:
▪Optional options: object
Options object that can be passed to Node's inspect util.
| Name | Type |
|---|---|
colors | boolean |
compact | boolean |
Returns: DebugDescriber
Methods
describe
▸ describe(arg: any): Stringifiable
Describes argument to human readable form.
Parameters:
| Name | Type | Description |
|---|---|---|
arg | any | Argument to describe. |
Returns: Stringifiable
Description instance.