(fileName)
| 164986 | log: log |
| 164987 | }); |
| 164988 | function getValidSourceFile(fileName) { |
| 164989 | var sourceFile = program.getSourceFile(fileName); |
| 164990 | if (!sourceFile) { |
| 164991 | var error = new Error("Could not find source file: '".concat(fileName, "'.")); |
| 164992 | // We've been having trouble debugging this, so attach sidecar data for the tsserver log. |
| 164993 | // See https://github.com/microsoft/TypeScript/issues/30180. |
| 164994 | error.ProgramFiles = program.getSourceFiles().map(function (f) { return f.fileName; }); |
| 164995 | throw error; |
| 164996 | } |
| 164997 | return sourceFile; |
| 164998 | } |
| 164999 | function synchronizeHostData() { |
| 165000 | var _a, _b, _c; |
| 165001 | ts.Debug.assert(languageServiceMode !== ts.LanguageServiceMode.Syntactic); |
no test coverage detected