declare function foo(option: { [|abcd|]: number }): void;
foo({
abcd/*use*/
});
Go to definition at /*use*/.
Expected: Language service gracefully finds abcd.
Actual: No definition is available.
This is frustrating because much of the time as I'm actually writing out the type, I want to know what abcd is so I'll jump to its definition. Instead, I can't get any functionality.
Go to definition at
/*use*/
.Expected: Language service gracefully finds
abcd
. Actual: No definition is available.This is frustrating because much of the time as I'm actually writing out the type, I want to know what
abcd
is so I'll jump to its definition. Instead, I can't get any functionality.