We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 02e487a + 523ced7 commit c949116Copy full SHA for c949116
1 file changed
src/services/symbolDisplay.ts
@@ -419,7 +419,7 @@ namespace ts.SymbolDisplay {
419
if (!documentation) {
420
documentation = symbol.getDocumentationComment();
421
if (documentation.length === 0 && symbol.flags & SymbolFlags.Property) {
422
- // For some special property access expressions like `experts.foo = foo` or `module.exports.foo = foo`
+ // For some special property access expressions like `exports.foo = foo` or `module.exports.foo = foo`
423
// there documentation comments might be attached to the right hand side symbol of their declarations.
424
// The pattern of such special property access is that the parent symbol is the symbol of the file.
425
if (symbol.parent && forEach(symbol.parent.declarations, declaration => declaration.kind === SyntaxKind.SourceFile)) {
0 commit comments