---
title: "TypeshadeLanguageServiceOptions: interface in Editor"
description: "TypeshadeLanguageServiceOptions, an interface in Editor. Configuration for a Typeshade language-service instance."
url: https://typeshade.dev/api/typeshadelanguageserviceoptions/
language: en
---

# `TypeshadeLanguageServiceOptions`

Interface in Editor

Configuration for a Typeshade language-service instance.

`import type { TypeshadeLanguageServiceOptions } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
interface TypeshadeLanguageServiceOptions {
  readonly fileName?: string;
}
```

## Instance properties

**`fileName` optional read only `string`**

File name used when parsing source text; carries no filesystem meaning.

## Source

[`src/language-service.ts`, line 88](https://github.com/typeshade/typeshade/blob/af54ddad5/src/language-service.ts#L88), at commit af54ddad5
