# vtsls: Fix invalid tsserver install error in TypeScript 7 projects \(\#61126\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c7ee116ead3476eaf6f34a8bbb833f628d300959

Requested commit: c7ee116ead3476eaf6f34a8bbb833f628d300959

Commit: c7ee116ead3476eaf6f34a8bbb833f628d300959

Tree: ec987068faee4084a794f4ac28669d0a59643811

Author: Smit Barmase

Committer: GitHub

## Message

```
vtsls: Fix invalid tsserver install error in TypeScript 7 projects (#61126)

Closes #60761

Follow-up to #60970, which fixed this for `typescript-language-server`.
`vtsls` had the same problem, we only checked that the workspace tsdk
directory exists, but TypeScript 7 ships it without `tsserver.js`,
causing vtsls to error on startup.

Now we do the same `tsserver.js` check, so vtsls silently falls back to
its bundled TypeScript (see #60951).

Release Notes:

- Fixed vtsls showing a "doesn't point to a valid tsserver install"
error on startup in projects using TypeScript 7. For full TypeScript 7
support, install the `tsgo` extension to use TypeScript's native
language server.
```

## Parents

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

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