mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Merge pull request #9473 from HerringtonDarkholme/fix_static
[Fix #9449]change variable name for strict mode
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user