(opts)
| 42268 | */ |
| 42269 | /* @internal */ |
| 42270 | function convertCompilerOptionsForTelemetry(opts) { |
| 42271 | var out = {}; |
| 42272 | for (var key in opts) { |
| 42273 | if (opts.hasOwnProperty(key)) { |
| 42274 | var type = getOptionFromName(key); |
| 42275 | if (type !== undefined) { // Ignore unknown options |
| 42276 | out[key] = getOptionValueWithEmptyStrings(opts[key], type); |
| 42277 | } |
| 42278 | } |
| 42279 | } |
| 42280 | return out; |
| 42281 | } |
| 42282 | ts.convertCompilerOptionsForTelemetry = convertCompilerOptionsForTelemetry; |
| 42283 | function getOptionValueWithEmptyStrings(value, option) { |
| 42284 | switch (option.type) { |
nothing calls this directly
no test coverage detected