Skip to content

Commit

Permalink
Fix doc generation for multiple paragraphs in table generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bterlson committed Dec 25, 2024
1 parent a2e1e5a commit 22528aa
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/docs/scripts/components/InterfaceMembers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,15 @@ export function InterfaceMembers(props: InterfaceMembersProps) {
<td>\`(${method.parameters
.map((param) => param.parameterTypeExcerpt.text)
.join(", ")}) => ${method.returnTypeExcerpt.text}\`</td>
<td>${
method.tsdocComment?.summarySection &&
TsDoc({
node: method.tsdocComment.summarySection,
context: method,
})
}</td>
<td>
${
method.tsdocComment?.summarySection &&
TsDoc({
node: method.tsdocComment.summarySection,
context: method,
})
}
</td>
</tr>
`;
}
Expand Down

0 comments on commit 22528aa

Please sign in to comment.