# typescript: Highlight \`infer\` keyword \(\#14696\) · gitcafe/zed

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

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

Visibility: public

Requested revision: edda634ca5e649ab9eb07b57b7866b8cf60b3645

Requested commit: edda634ca5e649ab9eb07b57b7866b8cf60b3645

Commit: edda634ca5e649ab9eb07b57b7866b8cf60b3645

Tree: c7a5dde0aaae45339b7d5bd0f3f3a205bf8f98cf

Author: rimuy

Committer: GitHub

## Message

```
typescript: Highlight `infer` keyword (#14696)

This PR adds syntax highlighting to TypeScript's
[`infer`](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#inferring-within-conditional-types)
keyword.

Theme used: Sandcastle

**Before:**

![image](https://github.com/user-attachments/assets/e082cc8c-2e12-4cfa-a641-40324dd93f31)

**After:**

![image](https://github.com/user-attachments/assets/6263b5b2-19c8-4b64-87b6-ceead947bc03)



Release Notes:

- Added syntax highlighting to TypeScript's `infer` keyword
([#14696](https://github.com/zed-industries/zed/pull/14696))
```

## Parents

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

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