# EnvironmentEditor

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

Provides an ATS-first editor for environment variables within polyglot callbacks.

## Definition

```typescript
interface EnvironmentEditor {
  set(
      name: string,
      value: IExpressionValue): void;
}
```

## Methods

- [set](/reference/api/typescript/aspire.hosting/environmenteditor/set.md) -- `method` -- Sets an environment variable.
    ```typescript
  set(name: string, value: IExpressionValue): void
  ```
