Merge pull request #9473 from HerringtonDarkholme/fix_static
[Fix #9449]change variable name for strict mode
This commit is contained in:
commit
0a682f1360
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue