diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 0181c8c78f696..085749892be21 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -13294,8 +13294,8 @@ namespace ts { } } else { - const static = forEach(member.modifiers, m => m.kind === SyntaxKind.StaticKeyword); - const names = static ? staticNames : instanceNames; + const isStatic = forEach(member.modifiers, m => m.kind === SyntaxKind.StaticKeyword); + const names = isStatic ? staticNames : instanceNames; const memberName = member.name && getPropertyNameForPropertyNameNode(member.name); if (memberName) {