(options, toAbsolutePath)
| 41387 | ts.generateTSConfig = generateTSConfig; |
| 41388 | /* @internal */ |
| 41389 | function convertToOptionsWithAbsolutePaths(options, toAbsolutePath) { |
| 41390 | var result = {}; |
| 41391 | var optionsNameMap = getOptionsNameMap().optionsNameMap; |
| 41392 | for (var name in options) { |
| 41393 | if (ts.hasProperty(options, name)) { |
| 41394 | result[name] = convertToOptionValueWithAbsolutePaths(optionsNameMap.get(name.toLowerCase()), options[name], toAbsolutePath); |
| 41395 | } |
| 41396 | } |
| 41397 | if (result.configFilePath) { |
| 41398 | result.configFilePath = toAbsolutePath(result.configFilePath); |
| 41399 | } |
| 41400 | return result; |
| 41401 | } |
| 41402 | ts.convertToOptionsWithAbsolutePaths = convertToOptionsWithAbsolutePaths; |
| 41403 | function convertToOptionValueWithAbsolutePaths(option, value, toAbsolutePath) { |
| 41404 | if (option && !isNullOrUndefined(value)) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…