Skip to content
Doqs documentation/formatDiagnostic

Search documentation

Type to search the documentation.

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