Microsoft/TypeScript

Getting completions when writing out a dot in a parameter should suggest the splat operator

Open

#4,262 opened on Aug 10, 2015

View on GitHub
 (8 comments) (0 reactions) (0 assignees)TypeScript (48,455 stars) (6,726 forks)batch import
Help WantedSuggestion

Description

At present the completions returned seem arbitrary. Example:

function(arg: string, ./**/): any {
}

Getting completions at the marker yields the typical alphabetical list of global things - worse yet, in VSCode, pressing . again auto-completes the first one (.AbstractWorker. isn't really a valid argument name)! Very frustrating.

Contributor guide