[TypeScript] Mapped Types with Template Literal Keys Do Not Preserve Type Declaration References #61094
Labels
Domain: Signature Help
Information in editor tooltips when invoking a function call
Experience Enhancement
Noncontroversial enhancements
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
Does this issue occur when all extensions are disabled?: Yes
When using Mapped Types with template literal transformations on interface fields, VSCode does not retain the original type reference. This makes it impossible to use “Go to Definition” to navigate from the transformed key back to its original declaration. WebStorm correctly maintains this reference, but VSCode does not.
Steps to Reproduce:
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: