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

---
```ts
createDiagnosticCollector(): DiagnosticCollector
```

Create a new instance of the

## Returns

[`DiagnosticCollector`](Interface.DiagnosticCollector.md)

## See

DiagnosticCollector.
