Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/server/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ namespace ts.server {
this.sendDiagnosticsEvent(file, project, project.getLanguageService().getSyntacticDiagnostics(file), "syntaxDiag");
}

private infoCheck(file: NormalizedPath, project: Project) {
private suggestionCheck(file: NormalizedPath, project: Project) {
this.sendDiagnosticsEvent(file, project, project.getLanguageService().getSuggestionDiagnostics(file), "suggestionDiag");
}

Expand Down Expand Up @@ -528,7 +528,7 @@ namespace ts.server {
}

next.immediate(() => {
this.infoCheck(fileName, project);
this.suggestionCheck(fileName, project);
if (checkList.length > index) {
next.delay(followMs, checkOne);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7337,7 +7337,7 @@ declare namespace ts.server {
private doOutput;
private semanticCheck;
private syntacticCheck;
private infoCheck;
private suggestionCheck;
private sendDiagnosticsEvent;
/** It is the caller's responsibility to verify that `!this.suppressDiagnosticEvents`. */
private updateErrorCheck;
Expand Down