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

---
## Type parameters

| Type parameter |
| :------ |
| `M` extends [`DiagnosticMessages`](DiagnosticMessages.md) |

## Properties

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