Skip to content

Commit ae18fa7

Browse files
authored
Fix JSDoc typos (#1019)
Javadoc typos
1 parent edaceab commit ae18fa7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

client/src/common/diagnostic.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export type DiagnosticPullOptions = {
126126
* An optional filter method that is consulted when triggering a
127127
* diagnostic pull during document change or document save.
128128
*
129-
* @param document the document that changes or got save
129+
* @param document the document that changed or got saved
130130
* @param mode the mode
131131
*/
132132
filter?(document: TextDocument, mode: DiagnosticPullMode): boolean;
@@ -141,11 +141,11 @@ export type DiagnosticPullOptions = {
141141
onTabs?: boolean;
142142

143143
/**
144-
* A optional match method that is consulted when pulling for diagnostics
144+
* An optional match method that is consulted when pulling for diagnostics
145145
* when only a URI is known (e.g. for not instantiated tabs)
146146
*
147147
* @param documentSelector the document selector
148-
* @param resource the resource.
148+
* @param resource the resource
149149
*/
150150
match?(documentSelector: DocumentSelector, resource: Uri): boolean;
151151
};
@@ -641,7 +641,7 @@ class DiagnosticRequestor implements Disposable {
641641
}
642642
this.openRequests.set(key, { state: RequestStateKind.outDated, document: request.document });
643643
}
644-
644+
645645
// cleanup old diagnostics
646646
this.diagnostics.dispose();
647647
}

0 commit comments

Comments
 (0)