(id)
| 159114 | } |
| 159115 | var checker = program.getTypeChecker(); |
| 159116 | var noSymbolError = function (id) { |
| 159117 | return (ts.isIdentifier(id) && checker.getSymbolAtLocation(id)) ? undefined |
| 159118 | : { error: ts.getLocaleSpecificMessage(ts.Diagnostics.Can_only_convert_named_export) }; |
| 159119 | }; |
| 159120 | switch (exportNode.kind) { |
| 159121 | case 256 /* SyntaxKind.FunctionDeclaration */: |
| 159122 | case 257 /* SyntaxKind.ClassDeclaration */: |