(filePath, newExt)
| 1766 | } |
| 1767 | |
| 1768 | function replaceExtension(filePath, newExt) { |
| 1769 | const { dir, name } = path.parse(filePath); |
| 1770 | |
| 1771 | return path.format({ |
| 1772 | dir, |
| 1773 | name, |
| 1774 | ext: newExt, |
| 1775 | }); |
| 1776 | } |
| 1777 | |
| 1778 | function replaceTypeScriptExtension(filePath) { |
| 1779 | const extensionMap = { |
no outgoing calls
no test coverage detected
searching dependent graphs…