(path)
| 18429 | } |
| 18430 | ts.getDeclarationEmitOutputFilePathWorker = getDeclarationEmitOutputFilePathWorker; |
| 18431 | function getDeclarationEmitExtensionForPath(path) { |
| 18432 | return ts.fileExtensionIsOneOf(path, [".mjs" /* Extension.Mjs */, ".mts" /* Extension.Mts */]) ? ".d.mts" /* Extension.Dmts */ : |
| 18433 | ts.fileExtensionIsOneOf(path, [".cjs" /* Extension.Cjs */, ".cts" /* Extension.Cts */]) ? ".d.cts" /* Extension.Dcts */ : |
| 18434 | ts.fileExtensionIsOneOf(path, [".json" /* Extension.Json */]) ? ".json.d.ts" : // Drive-by redefinition of json declaration file output name so if it's ever enabled, it behaves well |
| 18435 | ".d.ts" /* Extension.Dts */; |
| 18436 | } |
| 18437 | ts.getDeclarationEmitExtensionForPath = getDeclarationEmitExtensionForPath; |
| 18438 | /** |
| 18439 | * This function is an inverse of `getDeclarationEmitExtensionForPath`. |
no outgoing calls
no test coverage detected