Handel TypeLiterals, ParenTypes, UnionTypes, and ArrayTypes

This commit is contained in:
Mohamed Hegazy
2014-11-30 11:47:41 -08:00
parent 9ed27b23ab
commit 0246daec83
10 changed files with 318 additions and 107 deletions
+7 -2
View File
@@ -1617,13 +1617,18 @@ module ts {
case SyntaxKind.Constructor:
case SyntaxKind.ConstructSignature:
case SyntaxKind.ConstructorType:
case SyntaxKind.CallSignature:
case SyntaxKind.FunctionType:
case SyntaxKind.IndexSignature:
case SyntaxKind.Parameter:
case SyntaxKind.ModuleBlock:
case SyntaxKind.TypeParameter:
case SyntaxKind.FunctionType:
case SyntaxKind.ConstructorType:
case SyntaxKind.TypeLiteral:
case SyntaxKind.ArrayType:
case SyntaxKind.TupleType:
case SyntaxKind.UnionType:
case SyntaxKind.ParenType:
return isDeclarationVisible(node.parent);
// Source file is always visible