(comment: LineComment)
| 60 | } |
| 61 | |
| 62 | function cloneComment(comment: LineComment): LineComment { |
| 63 | return { |
| 64 | ...comment, |
| 65 | selection: cloneSelection(comment.selection), |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | function group(comments: LineComment[]) { |
| 70 | return comments.reduce<Record<string, LineComment[]>>((acc, comment) => { |
no test coverage detected