Incorrect completions in object literal expression for overloads #52692
Labels
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Experience Enhancement
Noncontroversial enhancements
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
Bug Report
π Search Terms
π Version & Regression Information
β― Playground Link
ts play code
Code to test
Simplified from
got
typings.No all literal or in-string completions, but okay if remove
<T>
from each overload.π Actual behavior
Completions in
func({ type: '|' })
(text) missing completions fromfunc2('|')
(text, json, buffer)π Expected behavior
Completions for
func({ type: '|' })
are the same as forfunc2('|')
I'm not sure probably its related to #51047 (or duplicate)
The text was updated successfully, but these errors were encountered: