We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e780c0 commit 9bea0dbCopy full SHA for 9bea0db
src/compiler/builder.ts
@@ -238,7 +238,7 @@ namespace ts {
238
const cachedDiagnostics = semanticDiagnosticsPerFile.get(path);
239
// Report the semantic diagnostics from the cache if we already have those diagnostics present
240
if (cachedDiagnostics) {
241
- cachedDiagnostics;
+ return cachedDiagnostics;
242
}
243
244
// Diagnostics werent cached, get them from program, and cache the result
0 commit comments