()
| 47060 | return bindAnonymousDeclaration(node, 2048 /* SymbolFlags.TypeLiteral */, "__type" /* InternalSymbolName.Type */); |
| 47061 | } |
| 47062 | function bindSourceFileIfExternalModule() { |
| 47063 | setExportContextFlag(file); |
| 47064 | if (ts.isExternalModule(file)) { |
| 47065 | bindSourceFileAsExternalModule(); |
| 47066 | } |
| 47067 | else if (ts.isJsonSourceFile(file)) { |
| 47068 | bindSourceFileAsExternalModule(); |
| 47069 | // Create symbol equivalent for the module.exports = {} |
| 47070 | var originalSymbol = file.symbol; |
| 47071 | declareSymbol(file.symbol.exports, file.symbol, file, 4 /* SymbolFlags.Property */, 67108863 /* SymbolFlags.All */); |
| 47072 | file.symbol = originalSymbol; |
| 47073 | } |
| 47074 | } |
| 47075 | function bindSourceFileAsExternalModule() { |
| 47076 | bindAnonymousDeclaration(file, 512 /* SymbolFlags.ValueModule */, "\"".concat(ts.removeFileExtension(file.fileName), "\"")); |
| 47077 | } |
no test coverage detected
searching dependent graphs…