# typescript: Pass \`hostInfo\` to \`tsserver\` \(\#12055\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/db06244972efcf11af38e98f94be094b01a0731c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: db06244972efcf11af38e98f94be094b01a0731c

Requested commit: db06244972efcf11af38e98f94be094b01a0731c

Commit: db06244972efcf11af38e98f94be094b01a0731c

Tree: faad211c263dde9ed3ebc1c256742e7b4c210dc4

Author: Shubham Kanodia

Committer: GitHub

## Message

```
typescript: Pass `hostInfo` to `tsserver` (#12055)

- Added `hostInfo` property to zed's typescript plugin. This can be
useful for telemetry (for e.g. identifying the usage of editors based on
typescript usage) when building typescript plugins.

- VSCode / IntelliJ based editors already set this property
([see](https://github.com/microsoft/vscode/blob/aa31bfc9fd1746626b3efe86f41b9c172d5f4d23/extensions/typescript-language-features/src/typescriptServiceClient.ts#L574))

The config option as available —
https://github.com/typescript-language-server/typescript-language-server/blob/master/docs/configuration.md#initializationoptions

Release Notes:

- N/A
```

## Parents

- [597469bbbd1487f29b1845911d64dc703c41f476](https://git.cafe/gitcafe/zed/commit/597469bbbd1487f29b1845911d64dc703c41f476?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/db06244972efcf11af38e98f94be094b01a0731c?format=markdown)
