(content: string)
| 136 | let cursor = 0 |
| 137 | |
| 138 | const pushText = (content: string) => { |
| 139 | if (!content) return |
| 140 | result.push({ |
| 141 | type: "text", |
| 142 | content, |
| 143 | start: position, |
| 144 | end: position + content.length, |
| 145 | }) |
| 146 | position += content.length |
| 147 | } |
| 148 | |
| 149 | const pushFile = (item: Extract<Inline, { type: "file" }>) => { |
| 150 | const content = item.value |
no test coverage detected