(tag: ParsedSeeTag)
| 1975 | } |
| 1976 | |
| 1977 | function unresolvedSeeTag(tag: ParsedSeeTag): JSDocApiSeeTag { |
| 1978 | return { |
| 1979 | text: renderInlineLinks(tag.text), |
| 1980 | links: tag.links.map((link) => ({ |
| 1981 | ...link, |
| 1982 | resolution: { _tag: "Unresolved", reason: "not-found", candidates: [] } |
| 1983 | })) |
| 1984 | } |
| 1985 | } |
| 1986 | |
| 1987 | function unresolvedSee(tags: ReadonlyArray<ParsedSeeTag>): ReadonlyArray<JSDocApiSeeTag> { |
| 1988 | return tags.map(unresolvedSeeTag) |
nothing calls this directly
no test coverage detected