---
jsApi: true
title: "[T] DiagnosticHandler"

---
```ts
type DiagnosticHandler: (diagnostic) => void;
```

## Parameters

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

## Returns

`void`
