Used with `Extensions.DtsOnly` to extract the path from TypeScript results.
(resolved)
| 42371 | })(Extensions || (Extensions = {})); |
| 42372 | /** Used with `Extensions.DtsOnly` to extract the path from TypeScript results. */ |
| 42373 | function resolvedTypeScriptOnly(resolved) { |
| 42374 | if (!resolved) { |
| 42375 | return undefined; |
| 42376 | } |
| 42377 | ts.Debug.assert(ts.extensionIsTS(resolved.extension)); |
| 42378 | return { fileName: resolved.path, packageId: resolved.packageId }; |
| 42379 | } |
| 42380 | function createResolvedModuleWithFailedLookupLocations(resolved, isExternalLibraryImport, failedLookupLocations, diagnostics, resultFromCache) { |
| 42381 | var _a; |
| 42382 | if (resultFromCache) { |
no test coverage detected