File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments