IntelliSense autocomplete doesn't provide suggestions for contextual types in nested functions #50478
Labels
Experience Enhancement
Noncontroversial enhancements
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
Bug Report
π Search Terms
intellisense autocomplete nested
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
When functions are nested the types flow through and are checked correctly but autocomplete doesn't provide suggestions.
π Expected behavior
I would like autocomplete to provide suggestions for arguments in nested functions, based on the underlying return type. My actual use case involves more complex functions that are used to build nested objects.
The text was updated successfully, but these errors were encountered: