(text: string)
| 1226 | } |
| 1227 | |
| 1228 | function hasWhenToUsePrefix(text: string): boolean { |
| 1229 | const trimmed = text.trimStart() |
| 1230 | return whenToUsePrefixes.some((prefix) => trimmed === prefix || trimmed.startsWith(`${prefix} `)) |
| 1231 | } |
| 1232 | |
| 1233 | function parseSection(lines: Array<string>, headingIndex: number): { |
| 1234 | readonly body: string | null |
no test coverage detected