Show union of supported types when completing overload #19474
Labels
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Fixed
A PR has been merged for this issue
Suggestion
An idea for TypeScript
VS Code Tracked
There is a VS Code equivalent to this issue
Milestone
TypeScript Version: 2.7.0-dev.20171025
Code
Trigger completions at
|
Expected behavior:
Suggestions for both
abc
andxyz
are returned since either version of overload could applyActual behavior:
Only a completion for
abc
is returned.// cc @octref
The text was updated successfully, but these errors were encountered: