Skip to content

Commit c73efe2

Browse files
committed
Fix comment
1 parent 07a8f31 commit c73efe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/binder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,9 +1989,9 @@ namespace ts {
19891989
// Bind this property to the containing class
19901990
const saveContainer = container;
19911991
container = container.parent;
1992-
// AND it can be overwritten by subsequent method declarations
19931992
const symbol = bindPropertyOrMethodOrAccessor(node, SymbolFlags.Property, SymbolFlags.None);
19941993
if (symbol) {
1994+
// constructor-declared symbols can be overwritten by subsequent method declarations
19951995
(symbol as Symbol).isReplaceableByMethod = true;
19961996
}
19971997
container = saveContainer;

0 commit comments

Comments
 (0)