(text: string)
| 1248 | } |
| 1249 | |
| 1250 | function hasWhenToUsePrefix(text: string): boolean { |
| 1251 | const trimmed = text.trimStart() |
| 1252 | return whenToUsePrefixes.some((prefix) => trimmed === prefix || trimmed.startsWith(`${prefix} `)) |
| 1253 | } |
| 1254 | |
| 1255 | function parseSection(lines: Array<string>, headingIndex: number): { |
| 1256 | readonly body: string | null |
no test coverage detected