# typescript: Use @type instead of @type.builtin in highlights \(\#46068\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e7474cebc50915fd03f8ac905469bcbd97d4d01b

Requested commit: e7474cebc50915fd03f8ac905469bcbd97d4d01b

Commit: e7474cebc50915fd03f8ac905469bcbd97d4d01b

Tree: bf558471369545306cfe142600ece85e061821bf

Author: Gaauwe Rombouts

Committer: GitHub

## Message

```
typescript: Use @type instead of @type.builtin in highlights (#46068)

Closes #45251

In https://github.com/zed-industries/zed/pull/44532 the syntax
highlighting of JS/TS was improved, but we only used `type.builtin` for
a specific case. This resulted in less consistent syntax highlighting.
Not all themes have this specific token and we don't use `type.builtin`
in other places either, so while this is a little less specific it is
more consistent.

Release Notes:

- Improved syntax highlighting consistency for builtins in JavaScript
and TypeScript
```

## Parents

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

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