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

# Interface: Diagnostic

## Table of contents

### Properties

- [code](Diagnostic.md#code)
- [message](Diagnostic.md#message)
- [severity](Diagnostic.md#severity)
- [target](Diagnostic.md#target)

## Properties

### code

• **code**: `string`

___

### message

• **message**: `string`

___

### severity

• **severity**: [`DiagnosticSeverity`](../index.md#diagnosticseverity)

___

### target

• **target**: [`DiagnosticTarget`](../index.md#diagnostictarget) \| typeof [`NoTarget`](../index.md#notarget)
