Incorporating changes to checkClassForDuplicateDeclarations in checker.ts as proposed by @sandersn

This commit is contained in:
about-code 2017-01-03 14:06:10 +01:00
parent 544d0a4388
commit 244db70730

View File

@ -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);