replayableSource(lines: readonly string[]): string
The lines of a session worth replaying: everything typed, minus the shell escapes.
The lines are node:repl's own record of what it evaluated, which ReplContext.lines
reads off the server — absent from @types/node's REPLServer, so the cast lives there, once,
rather than at every caller.
import { replayableSource } from './editor.ts'; replayableSource(['1 + 1', ':git status', '2 + 2']); // '1 + 1\n2 + 2\n'