Skip to content

Commit

Permalink
Fix JSDoc typos (#1019)
Browse files Browse the repository at this point in the history
Javadoc typos
  • Loading branch information
MariaSolOs authored Jul 4, 2022
1 parent edaceab commit ae18fa7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/common/diagnostic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export type DiagnosticPullOptions = {
* An optional filter method that is consulted when triggering a
* diagnostic pull during document change or document save.
*
* @param document the document that changes or got save
* @param document the document that changed or got saved
* @param mode the mode
*/
filter?(document: TextDocument, mode: DiagnosticPullMode): boolean;
Expand All @@ -141,11 +141,11 @@ export type DiagnosticPullOptions = {
onTabs?: boolean;

/**
* A optional match method that is consulted when pulling for diagnostics
* An optional match method that is consulted when pulling for diagnostics
* when only a URI is known (e.g. for not instantiated tabs)
*
* @param documentSelector the document selector
* @param resource the resource.
* @param resource the resource
*/
match?(documentSelector: DocumentSelector, resource: Uri): boolean;
};
Expand Down Expand Up @@ -641,7 +641,7 @@ class DiagnosticRequestor implements Disposable {
}
this.openRequests.set(key, { state: RequestStateKind.outDated, document: request.document });
}

// cleanup old diagnostics
this.diagnostics.dispose();
}
Expand Down

0 comments on commit ae18fa7

Please sign in to comment.