( baseName: string, nodeStart: number, importSource: string )
| 1285 | } |
| 1286 | |
| 1287 | private getImportedJsxFactoryVariable( |
| 1288 | baseName: string, |
| 1289 | nodeStart: number, |
| 1290 | importSource: string |
| 1291 | ): Variable { |
| 1292 | const { id } = this.resolvedIds[importSource!]; |
| 1293 | const module = this.graph.modulesById.get(id)!; |
| 1294 | const [variable] = module.getVariableForExportName(baseName, { importChain: [this.id] }); |
| 1295 | if (!variable) { |
| 1296 | return this.error(logMissingJsxExport(baseName, id, this.id), nodeStart); |
| 1297 | } |
| 1298 | return variable; |
| 1299 | } |
| 1300 | |
| 1301 | private getVariableFromNamespaceReexports( |
| 1302 | name: string, |
no test coverage detected