(lines: readonly ReaderLine[])
| 257 | |
| 258 | /** The reworded sentences by id, for a renderer that has to put them back. */ |
| 259 | export function rewriteMap(lines: readonly ReaderLine[]): Readonly<Record<string, string>> { |
| 260 | const out: Record<string, string> = {}; |
| 261 | for (const line of lines) { |
| 262 | out[line.id] = line.text; |
| 263 | } |
| 264 | return out; |
| 265 | } |
no outgoing calls
no test coverage detected