2

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.

MattDMo
  • 100,794
  • 21
  • 241
  • 231
leinaD_natipaC
  • 4,299
  • 5
  • 21
  • 40
  • 1
    Which 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

0 Answers0