-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
Hi,
I'm not sure if this is possible or not, but neither VS 2015 RC with the TypeScript 1.5 beta plugin nor atom-typescript offer autocompletion in this example:
If I remove either consoleOutput
or actualVersion
from the object literal passed to resolve, TypeScript will correctly complain. However, if I begin to type con
or act
to put those properties back, I don't get help. I'm assuming that this is because resolve()
accepts ether T
or Thenable<T>
and perhaps the language service just gives up when it sees a union?
If this is not fixable without going crazy, no big deal. The compiler is working correctly - it's just that the autocomplete experience could be better.
Thanks!
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue