[JS Api](../index.md) / DiagnosticDefinition

# Interface: DiagnosticDefinition<M\>

## Type parameters

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

## Table of contents

### Properties

- [messages](DiagnosticDefinition.md#messages)
- [severity](DiagnosticDefinition.md#severity)

## Properties

### messages

• `Readonly` **messages**: `M`

___

### severity

• `Readonly` **severity**: ``"error"`` \| ``"warning"``
