seniorTypeScript
Discuss 'Inlay Hints' and 'Type Acquisition' in the Language Service.
Updated May 4, 2026
Short answer
Inlay hints provide visual metadata in the IDE, while Type Acquisition fetches types for JS libraries automatically.
Deep explanation
The TS server analyzes the AST to provide real-time feedback. Inlay hints display inferred types or parameter names in the editor. Type Acquisition fetches @types from npm for plain JavaScript files to enable autocompletion[cite: 1].
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro