Skip to content

Commit

Permalink
Make diagnostics public on EmitOutput (#58317)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Apr 26, 2024
1 parent ce4862c commit 04963ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/builderStatePublic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
export interface EmitOutput {
outputFiles: OutputFile[];
emitSkipped: boolean;
/** @internal */ diagnostics: readonly Diagnostic[];
diagnostics: readonly Diagnostic[];
}

export interface OutputFile {
Expand Down
1 change: 1 addition & 0 deletions tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9456,6 +9456,7 @@ declare namespace ts {
interface EmitOutput {
outputFiles: OutputFile[];
emitSkipped: boolean;
diagnostics: readonly Diagnostic[];
}
interface OutputFile {
name: string;
Expand Down

0 comments on commit 04963ee

Please sign in to comment.