How do I get the typescript version that LSP is using to check my code? I'm seeing some bugs in my typescript code that may possibly be version-dependant.
Asked
Active
Viewed 191 times
2

MattDMo
- 100,794
- 21
- 241
- 231

leinaD_natipaC
- 4,299
- 5
- 21
- 40
-
1Which LSP server are you using for Typescript ? Depending on the server used, the available features are not the same. – lcheylus Aug 25 '22 at 08:42
-
The LSP defines the #initializeResult where a server version is set. Perhaps the server version also matches the Typescript version is handling? https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initializeResult – Alejandro González Sep 20 '22 at 14:01