-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
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 editorGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this
Milestone
Description
Bug Report
π Search Terms
completion list, assert, asserts
π Version & Regression Information
- This is the behavior in every version I tried, since the feature was introduced in 3.7
β― Playground Link
Playground link with relevant code
π» Code
declare function assert(v: any): asserts /* | */
π Actual behavior
Typing v
after asserts
brings up the completion list with void
at the first position. I'm used to accept the first completion, so I end up with an invalid asserts predicate.
π Expected behavior
List all parameter names of the function and/or this
ExE-Boss
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 editorGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this