From 4b0901e4222841ce21393d2260d330396bd2ac52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Paku=C5=82a?= Date: Fri, 12 Sep 2025 15:49:45 +0200 Subject: [PATCH] Fix #989 - Keep tsserver warning completions as vscode --- src/completion.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/completion.ts b/src/completion.ts index 45f2664a..e3cd9ad7 100644 --- a/src/completion.ts +++ b/src/completion.ts @@ -66,9 +66,6 @@ export function asCompletionItems( ): lsp.CompletionItem[] { const completions: lsp.CompletionItem[] = []; for (const entry of entries) { - if (entry.kind === ScriptElementKind.warning as ts.ScriptElementKind) { - continue; - } const completion = asCompletionItem(entry, completionDataCache, file, position, document, filePathConverter, options, features, completionContext); if (!completion) { continue;