From ae18fa7881c96134290138f6e4959b44e3a6c3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maria=20Jos=C3=A9=20Solano?= Date: Mon, 4 Jul 2022 02:34:33 -0700 Subject: [PATCH] Fix JSDoc typos (#1019) Javadoc typos --- client/src/common/diagnostic.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/common/diagnostic.ts b/client/src/common/diagnostic.ts index e9a07468f..a141c5d7a 100644 --- a/client/src/common/diagnostic.ts +++ b/client/src/common/diagnostic.ts @@ -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; @@ -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; }; @@ -641,7 +641,7 @@ class DiagnosticRequestor implements Disposable { } this.openRequests.set(key, { state: RequestStateKind.outDated, document: request.document }); } - + // cleanup old diagnostics this.diagnostics.dispose(); }