mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 11:08:51 -06:00
Fix comment
This commit is contained in:
parent
07a8f31a2d
commit
c73efe2fb6
@ -1989,9 +1989,9 @@ namespace ts {
|
||||
// Bind this property to the containing class
|
||||
const saveContainer = container;
|
||||
container = container.parent;
|
||||
// AND it can be overwritten by subsequent method declarations
|
||||
const symbol = bindPropertyOrMethodOrAccessor(node, SymbolFlags.Property, SymbolFlags.None);
|
||||
if (symbol) {
|
||||
// constructor-declared symbols can be overwritten by subsequent method declarations
|
||||
(symbol as Symbol).isReplaceableByMethod = true;
|
||||
}
|
||||
container = saveContainer;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user