(compilerOptions, importingSourceFileName, host)
| 121963 | }; |
| 121964 | } |
| 121965 | function isFormatRequiringExtensions(compilerOptions, importingSourceFileName, host) { |
| 121966 | var _a; |
| 121967 | if (ts.getEmitModuleResolutionKind(compilerOptions) !== ts.ModuleResolutionKind.Node16 |
| 121968 | && ts.getEmitModuleResolutionKind(compilerOptions) !== ts.ModuleResolutionKind.NodeNext) { |
| 121969 | return false; |
| 121970 | } |
| 121971 | return ts.getImpliedNodeFormatForFile(importingSourceFileName, (_a = host.getPackageJsonInfoCache) === null || _a === void 0 ? void 0 : _a.call(host), getModuleResolutionHost(host), compilerOptions) !== ts.ModuleKind.CommonJS; |
| 121972 | } |
| 121973 | function getModuleResolutionHost(host) { |
| 121974 | var _a; |
| 121975 | return { |
no test coverage detected