(host, directoryStructureHost)
| 119437 | ts.filterSemanticDiagnostics = filterSemanticDiagnostics; |
| 119438 | /* @internal */ |
| 119439 | function parseConfigHostFromCompilerHostLike(host, directoryStructureHost) { |
| 119440 | if (directoryStructureHost === void 0) { directoryStructureHost = host; } |
| 119441 | return { |
| 119442 | fileExists: function (f) { return directoryStructureHost.fileExists(f); }, |
| 119443 | readDirectory: function (root, extensions, excludes, includes, depth) { |
| 119444 | ts.Debug.assertIsDefined(directoryStructureHost.readDirectory, "'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"); |
| 119445 | return directoryStructureHost.readDirectory(root, extensions, excludes, includes, depth); |
| 119446 | }, |
| 119447 | readFile: function (f) { return directoryStructureHost.readFile(f); }, |
| 119448 | useCaseSensitiveFileNames: host.useCaseSensitiveFileNames(), |
| 119449 | getCurrentDirectory: function () { return host.getCurrentDirectory(); }, |
| 119450 | onUnRecoverableConfigFileDiagnostic: host.onUnRecoverableConfigFileDiagnostic || ts.returnUndefined, |
| 119451 | trace: host.trace ? function (s) { return host.trace(s); } : undefined |
| 119452 | }; |
| 119453 | } |
| 119454 | ts.parseConfigHostFromCompilerHostLike = parseConfigHostFromCompilerHostLike; |
| 119455 | /* @internal */ |
| 119456 | function createPrependNodes(projectReferences, getCommandLine, readFile) { |
no test coverage detected
searching dependent graphs…