language service
The part of TypeScript that editors talk to for live errors, hover information, auto-complete, renames and quick fixes.
In more detail
Editors such as Visual Studio Code run tsserver in the background, which uses the same checker as tsc. This is why an editor shows the inferred type of a variable when you hover over it and can rename a symbol across many files safely.
Related terms
- IDE — An integrated development environment: a code editor with built-in tools such as autocompletion, error highlighting and debugging.
- tooltip — A small text label that appears when a control is hovered or focused, describing it briefly.
- autocomplete — An editor feature that suggests property and function names as you type, based on the types it knows.
- quick fix — An editor action that fixes a reported problem for you, such as adding a missing import.
- refactoring — Restructuring working code to make it clearer or easier to change without changing what it does.
Taught in
- Verify Your Environment: Running tsc And Bun TypeScript — Production TypeScript