mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
Incorporating changes to checkClassForDuplicateDeclarations in checker.ts as proposed by @sandersn
This commit is contained in:
@@ -15610,7 +15610,7 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
else {
|
||||
const isStatic = forEach(member.modifiers, m => m.kind === SyntaxKind.StaticKeyword);
|
||||
const isStatic = getModifierFlags(member) & ModifierFlags.Static;
|
||||
const names = isStatic ? staticNames : instanceNames;
|
||||
|
||||
const memberName = member.name && getPropertyNameForPropertyNameNode(member.name);
|
||||
|
||||
Reference in New Issue
Block a user