( line: string, color: Color | undefined, dim: boolean | undefined, )
| 68 | } |
| 69 | |
| 70 | function styleBorderLine( |
| 71 | line: string, |
| 72 | color: Color | undefined, |
| 73 | dim: boolean | undefined, |
| 74 | ): string { |
| 75 | let styled = applyColor(line, color) |
| 76 | if (dim) { |
| 77 | styled = chalk.dim(styled) |
| 78 | } |
| 79 | return styled |
| 80 | } |
| 81 | |
| 82 | const renderBorder = ( |
| 83 | x: number, |
no test coverage detected