-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Closed
Copy link
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorHelp WantedYou can do thisYou can do this
Milestone
Description
π Search Terms
type parameters constraints completions
π Version & Regression Information
β― Playground Link
π» Code
function test<First extends S/**/, Second>(a: First, b: Second) {}
π Actual behavior
Second
is not suggested at this marker
π Expected behavior
I'd expect Second
to be suggested since depending on the latter type parameters is valid (even if weird at times).
Additional information about the issue
This change was called out in comments of the PR that introduced this (initially it focused only on expression-space parameters) but I wonder if this is something that could be revisited. cc @zardoy
zardoy and suica
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorHelp WantedYou can do thisYou can do this