---
jsApi: true
title: "[I] DiagnosticDefinition"

---
## Type parameters

| Parameter |
| :------ |
| `M` *extends* [`DiagnosticMessages`](Interface.DiagnosticMessages.md) |

## Properties

| Property | Type |
| :------ | :------ |
| `readonly` `messages` | `M` |
| `readonly` `severity` | `"error"` \| `"warning"` |
