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

---
## Properties

| Modifier | Property | Type | Description |
| :------ | :------ | :------ | :------ |
| `readonly` | `compilerHost` | [`CompilerHost`](CompilerHost.md) | - |
| `readonly` | `getOpenDocumentByURL` | (`url`) => `undefined` \| `TextDocument` | - |
| `readonly` | `log` | (`message`) => `void` | - |
| `readonly` | `sendDiagnostics` | (`params`) => `void` | - |
| `readonly` | `throwInternalErrors?` | `boolean` | - |
