Enhance type argument completions by mkantor · Pull Request #62170 · microsoft/TypeScript

This was referenced

Aug 1, 2025

jakebailey

Previously, `getTypeArgumentConstraint` could only find constraints for
type arguments of generic type instantiations. Now it additionally
supports type arguments of the following expression kinds:

- function calls
- `new` expressions
- tagged templates
- JSX expressions
- decorators
- instantiation expressions

@mkantor

@mkantor

@mkantor

@mkantor

@mkantor

jakebailey

@mkantor mkantor deleted the type-argument-completions branch

September 30, 2025 21:51

@microsoft microsoft locked as resolved and limited conversation to collaborators

Apr 2, 2026