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

---
## Type parameters

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

## Properties

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