(description: string | string[], ...rest: string[])
| 88 | } |
| 89 | |
| 90 | appendDescription(description: string | string[], ...rest: string[]) { |
| 91 | this.description ??= []; |
| 92 | if (typeof description === 'string') { |
| 93 | this.description.push(description); |
| 94 | } else { |
| 95 | appendArrayInPlace(this.description, description); |
| 96 | } |
| 97 | |
| 98 | if (rest.length) { |
| 99 | appendArrayInPlace(this.description, rest); |
| 100 | } |
| 101 | |
| 102 | return this; |
| 103 | } |
| 104 | |
| 105 | protected date = new Date(); |
| 106 | withDate(date: Date) { |
no outgoing calls
no test coverage detected