(width: number, fillString?: string)
| 163 | } |
| 164 | |
| 165 | fillWidth(width: number, fillString?: string) { |
| 166 | const paddingLength = width - this.getWidth(); |
| 167 | if (paddingLength > 0) { |
| 168 | this.appendString(''.padEnd(paddingLength, fillString)); |
| 169 | } |
| 170 | return this; |
| 171 | } |
| 172 | |
| 173 | getString(): string { |
| 174 | return this._string; |
no test coverage detected