Examples
Before and after, taken from real runs of the CLI.
Convert
Convert
Parameters, returns and throws
A typical JSDoc comment on an async function, converted line by line to TSDoc, with the reason for each change.
Read
Convert
Example blocks
Why a bare @example breaks the TSDoc parser, and how convert fences only the bodies that need it.
Read
Convert
From @typedef to member comments
How a JSDoc @typedef with @property tags becomes an interface whose members carry their own documentation, without losing any prose.
Read
Convert
Promoting line comments
When a developer explained an export with // comments, convert can turn that prose into the doc comment it was already acting as.
Read