@private @method convertToJS @param {FileInfo} fileInfo @return {Promise}
(fileInfo)
| 518 | @return {Promise} |
| 519 | */ |
| 520 | async convertToJS(fileInfo) { |
| 521 | let rendered = await fileInfo.render(); |
| 522 | |
| 523 | fileInfo.rendered = await this.removeTypes(path.extname(fileInfo.displayPath), rendered); |
| 524 | fileInfo.displayPath = replaceTypeScriptExtension(fileInfo.displayPath); |
| 525 | fileInfo.outputPath = replaceTypeScriptExtension(fileInfo.outputPath); |
| 526 | |
| 527 | return fileInfo; |
| 528 | }, |
| 529 | |
| 530 | /** |
| 531 | @private |
nothing calls this directly
no test coverage detected
searching dependent graphs…