Type Parameters
- ExtraT extends ExtraField = ExtraField
Indexable
[key:
string]: ExtraT | (() => string)
Constructors
constructor
- new Extras<ExtraT>(fields): Extras<ExtraT>
Type Parameters
- ExtraT extends ExtraField = ExtraField
Parameters
- fields: Record<string, ExtraT>
Methods
toString
- toString(): string
Returns string
Default string representation.