(symbol)
| 60621 | } |
| 60622 | function getTypeOfGlobalSymbol(symbol, arity) { |
| 60623 | function getTypeDeclaration(symbol) { |
| 60624 | var declarations = symbol.declarations; |
| 60625 | if (declarations) { |
| 60626 | for (var _i = 0, declarations_3 = declarations; _i < declarations_3.length; _i++) { |
| 60627 | var declaration = declarations_3[_i]; |
| 60628 | switch (declaration.kind) { |
| 60629 | case 257 /* SyntaxKind.ClassDeclaration */: |
| 60630 | case 258 /* SyntaxKind.InterfaceDeclaration */: |
| 60631 | case 260 /* SyntaxKind.EnumDeclaration */: |
| 60632 | return declaration; |
| 60633 | } |
| 60634 | } |
| 60635 | } |
| 60636 | } |
| 60637 | if (!symbol) { |
| 60638 | return arity ? emptyGenericType : emptyObjectType; |
| 60639 | } |
no outgoing calls
no test coverage detected