Content tooling API
formatDiagnostic
Formats a diagnostic as the multi-line text the CLI prints.
Overview
Formats a diagnostic as the multi-line text the CLI prints.
- Kind: Function
Signature
function formatDiagnostic(diagnostic: DoqContentDiagnostic): string
| Parameter | Type | Optional | Description |
|---|---|---|---|
diagnostic |
DoqContentDiagnostic |
Returns string