---
jsApi: true
title: "[F] ignoreDiagnostics"

---
```ts
ignoreDiagnostics<T>(result): T
```

Ignore the diagnostics emitted by the diagnostic accessor pattern and just return the actual result.

## Type parameters

| Parameter |
| :------ |
| `T` |

## Parameters

| Parameter | Type |
| :------ | :------ |
| `result` | [`DiagnosticResult`](../type-aliases/DiagnosticResult.md)<`T`\> |

## Returns

`T`

Actual result.
