MCPcopy Create free account
hub / github.com/Effect-TS/effect / renderDescription

Function renderDescription

packages/tools/jsdocs/src/Jsdocs.ts:1950–1957  ·  view source on GitHub ↗
(description: ParsedDescription)

Source from the content-addressed store, hash-verified

1948}
1949
1950function 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
1959function renderExamples(examples: ReadonlyArray<ParsedExample>): ReadonlyArray<ParsedExample> {
1960 return examples.map((example) => ({

Callers 1

makeApiFunction · 0.70

Calls 1

renderInlineLinksFunction · 0.85

Tested by

no test coverage detected