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
class C
module.exports
(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.
module C
Closing language service bugs related to the 6.0 implementation. For more information, see #62827
Activity
RyanCavanaugh commentedon Dec 3, 2025
Closing language service bugs related to the 6.0 implementation. For more information, see #62827