-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
From @Flamefire on June 9, 2018 12:35
- VSCode Version: 1.24.0
- OS Version: WIn10 x64
Steps to Reproduce:
- Export by string key:
function parse(){return 1;}
exports["parse"] = parse; // exports.parse = parse;
- Import and try GoTo Def:
require("./foo")
foo.parse(); // Not found
Does this issue occur when all extensions are disabled?: Yes
Both versions (exports["parse"] = parse; // exports.parse = parse;) should work exactly the same.
Copied from original issue: microsoft/vscode#51520
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue