File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -609,8 +609,8 @@ export namespace Compiler {
609609 // do not count errors from lib.d.ts here, they are computed separately as numLibraryDiagnostics
610610 // if lib.d.ts is explicitly included in input files and there are some errors in it (i.e. because of duplicate identifiers)
611611 // then they will be added twice thus triggering 'total errors' assertion with condition
612- // 'totalErrorsReportedInNonLibraryFiles + numLibraryDiagnostics + numTest262HarnessDiagnostics, diagnostics.length
613612 // Similarly for tsconfig, which may be in the input files and contain errors.
613+ // 'totalErrorsReportedInNonLibraryNonTsconfigFiles + numLibraryDiagnostics + numTsconfigDiagnostics + numTest262HarnessDiagnostics, diagnostics.length
614614
615615 if ( ! error . file || ! isDefaultLibraryFile ( error . file . fileName ) && ! vpath . isTsConfigFile ( error . file . fileName ) ) {
616616 totalErrorsReportedInNonLibraryNonTsconfigFiles ++ ;
You can’t perform that action at this time.
0 commit comments