* Adds provided value to the current line. Does not end the line. * * @param value * @returns
(value: string | BasicBuilder<ContextType>)
| 26 | * @returns |
| 27 | */ |
| 28 | write(value: string | BasicBuilder<ContextType>): this { |
| 29 | if (typeof value === 'string') { |
| 30 | this.currentLine += value |
| 31 | } else { |
| 32 | value.write(this) |
| 33 | } |
| 34 | return this |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Adds several `values` to the current line, separated by `separator`. Both values and separator |