(value: string)
| 365 | } |
| 366 | |
| 367 | function firstLine(value: string) { |
| 368 | return ( |
| 369 | value |
| 370 | .split(/\r?\n/g) |
| 371 | .map((line) => line.trim()) |
| 372 | .find(Boolean) ?? null |
| 373 | ) |
| 374 | } |
| 375 | |
| 376 | export function summarize(value: string) { |
| 377 | return value |
no test coverage detected