Skip to content

Commit 542184a

Browse files
author
Andy
authored
Rename infoCheck to suggestionCheck (#23286)
1 parent e858de9 commit 542184a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/server/session.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ namespace ts.server {
484484
this.sendDiagnosticsEvent(file, project, project.getLanguageService().getSyntacticDiagnostics(file), "syntaxDiag");
485485
}
486486

487-
private infoCheck(file: NormalizedPath, project: Project) {
487+
private suggestionCheck(file: NormalizedPath, project: Project) {
488488
this.sendDiagnosticsEvent(file, project, project.getLanguageService().getSuggestionDiagnostics(file), "suggestionDiag");
489489
}
490490

@@ -528,7 +528,7 @@ namespace ts.server {
528528
}
529529

530530
next.immediate(() => {
531-
this.infoCheck(fileName, project);
531+
this.suggestionCheck(fileName, project);
532532
if (checkList.length > index) {
533533
next.delay(followMs, checkOne);
534534
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -7337,7 +7337,7 @@ declare namespace ts.server {
73377337
private doOutput;
73387338
private semanticCheck;
73397339
private syntacticCheck;
7340-
private infoCheck;
7340+
private suggestionCheck;
73417341
private sendDiagnosticsEvent;
73427342
/** It is the caller's responsibility to verify that `!this.suppressDiagnosticEvents`. */
73437343
private updateErrorCheck;

0 commit comments

Comments
 (0)