---
jsApi: true
title: "[F] formatDiagnostic"

---
```ts
formatDiagnostic(diagnostic): string
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `diagnostic` | [`Diagnostic`](Interface.Diagnostic.md) |

## Returns

`string`
