Skip to content

Commit a373029

Browse files
committed
Public API
1 parent 677f04b commit a373029

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/server/protocol.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,6 +2521,7 @@ namespace ts.server.protocol {
25212521
maxFileSize: number;
25222522
}
25232523

2524+
/*@internal*/
25242525
export type AnyEvent = RequestCompletedEvent | DiagnosticEvent | ConfigFileDiagnosticEvent | ProjectLanguageServiceStateEvent | TelemetryEvent |
25252526
ProjectsUpdatedInBackgroundEvent | ProjectLoadingStartEvent | ProjectLoadingFinishEvent | SurveyReadyEvent | LargeFileReferencedEvent;
25262527

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7486,6 +7486,7 @@ declare namespace ts.server.protocol {
74867486
*/
74877487
interface DiagnosticEvent extends Event {
74887488
body?: DiagnosticEventBody;
7489+
event: DiagnosticEventKind;
74897490
}
74907491
interface ConfigFileDiagnosticEventBody {
74917492
/**

0 commit comments

Comments
 (0)