Add additional "this" containers

This commit is contained in:
Anders Hejlsberg 2015-09-25 14:08:21 -07:00
parent 8fd2d7a7db
commit 9dee87505d

View file

@ -732,6 +732,11 @@ namespace ts {
case SyntaxKind.Constructor:
case SyntaxKind.GetAccessor:
case SyntaxKind.SetAccessor:
case SyntaxKind.CallSignature:
case SyntaxKind.ConstructSignature:
case SyntaxKind.IndexSignature:
case SyntaxKind.FunctionType:
case SyntaxKind.ConstructorType:
case SyntaxKind.EnumDeclaration:
case SyntaxKind.SourceFile:
return node;