Microsoft/TypeScript

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

Aperta

#4262 aperta il 10 ago 2015

 (8 commenti) (0 reazioni) (0 assegnatari)TypeScript (13.395 fork)batch import
Help WantedSuggestion

Metriche repository

Star
 (108.860 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor