mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-16 05:58:32 -06:00
Incorporating changes to checkClassForDuplicateDeclarations in checker.ts as proposed by @sandersn
This commit is contained in:
parent
544d0a4388
commit
244db70730
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user