Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is typescript tsserver all about?

Tags:

typescript

What does tsserver do ?. Got a vague idea that it helps IDEs to implement features like error checking and auto-completion. But I couldn't find any API documentation.

like image 243
Shanavas M Avatar asked Sep 04 '25 01:09

Shanavas M


1 Answers

Simply speaking, it's a tool that runs TypeScript compiler in background and can quickly respond to commands like "compile this" or "autocomplete that".

It's meant to use by tool developers, and you won't need it in day-to-day work with TypeScript.

You can find source code here, it's pretty much self-explanatory.

like image 178
zlumer Avatar answered Sep 07 '25 16:09

zlumer