-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyDomain: Quick Infoe.g. hover text, tool-tips, and tooltips.e.g. hover text, tool-tips, and tooltips.checkJsRelates to checking JavaScript using TypeScriptRelates to checking JavaScript using TypeScript
Milestone
Description
Given this playground,
module.exports = class C {}
module.exports.fn = function() {}
quick info display on hover of class C
depends on if you hover module.exports
first or not. If you hover module.exports
first, it's
(local class) C
module C
if you hover class C
first, without hovering anything else, it's
(local class) C
The first - the version with module C
- is the correct one. In the later case, we fail to merge the module and class symbols.
RyanCavanaugh
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyDomain: Quick Infoe.g. hover text, tool-tips, and tooltips.e.g. hover text, tool-tips, and tooltips.checkJsRelates to checking JavaScript using TypeScriptRelates to checking JavaScript using TypeScript