(description: ParsedDescription)
| 1948 | } |
| 1949 | |
| 1950 | function renderDescription(description: ParsedDescription): ParsedDescription { |
| 1951 | return { |
| 1952 | short: renderInlineLinks(description.short), |
| 1953 | whenToUse: description.whenToUse === null ? null : renderInlineLinks(description.whenToUse), |
| 1954 | details: description.details === null ? null : renderInlineLinks(description.details), |
| 1955 | gotchas: description.gotchas === null ? null : renderInlineLinks(description.gotchas) |
| 1956 | } |
| 1957 | } |
| 1958 | |
| 1959 | function renderExamples(examples: ReadonlyArray<ParsedExample>): ReadonlyArray<ParsedExample> { |
| 1960 | return examples.map((example) => ({ |
no test coverage detected