(compilerOptions, importingSourceFile, nodeModulesFileName, host, preferences, options)
| 122005 | } |
| 122006 | moduleSpecifiers_1.getModuleSpecifier = getModuleSpecifier; |
| 122007 | function getNodeModulesPackageName(compilerOptions, importingSourceFile, nodeModulesFileName, host, preferences, options) { |
| 122008 | if (options === void 0) { options = {}; } |
| 122009 | var info = getInfo(importingSourceFile.path, host); |
| 122010 | var modulePaths = getAllModulePaths(importingSourceFile.path, nodeModulesFileName, host, preferences, options); |
| 122011 | return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(modulePath, info, importingSourceFile, host, compilerOptions, preferences, /*packageNameOnly*/ true, options.overrideImportMode); }); |
| 122012 | } |
| 122013 | moduleSpecifiers_1.getNodeModulesPackageName = getNodeModulesPackageName; |
| 122014 | function getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName, host, preferences, userPreferences, options) { |
| 122015 | if (options === void 0) { options = {}; } |
nothing calls this directly
no test coverage detected