(message: string, color?: keyof typeof colors)
| 35 | } |
| 36 | |
| 37 | function log(message: string, color?: keyof typeof colors): void { |
| 38 | if (color) { |
| 39 | console.log(`${colors[color]}${message}${colors.reset}`); |
| 40 | } else { |
| 41 | console.log(message); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | function logBlank(): void { |
| 46 | console.log(); |
no test coverage detected