getDescription
Extracts the JSDoc description of a node.
Import:
import { getDescription } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-jsdoc';Signature:
function getDescription(node: JSDocableNode): stringParameters:
| Parameter | Type | Description |
|---|---|---|
node |
JSDocableNode | The node. |
Returns: string — The description, or an empty string.