Skip to content

Commit 326b1f0

Browse files
committed
Add hasErrors property to tsbuildInfo so we can build again if there are errors
Also add roots property to non incremental build to check if root files went missing
1 parent b258429 commit 326b1f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ function handleDtsMayChangeOfFileAndExportsOfFile(
983983
function getSemanticDiagnosticsOfFile(
984984
state: BuilderProgramStateWithDefinedProgram,
985985
sourceFile: SourceFile,
986-
cancellationToken: CancellationToken | undefined,
986+
cancellationToken?: CancellationToken,
987987
semanticDiagnosticsPerFile?: BuilderProgramState["semanticDiagnosticsPerFile"],
988988
): readonly Diagnostic[] {
989989
return concatenate(

0 commit comments

Comments
 (0)