Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/doc-annotations.ts
Collapse to a single line: for a summary, which is rendered in a list where a newline or a run of alignment spaces from a docblock would break the row.
Signature
tsfunction collapseWhitespace(text: string): string
Parameters
| Name | Type |
|---|---|
text | string |
Returns: string
Was this page helpful?