From efb895e2b3e1218cffdabab8ae764ab043d67ed2 Mon Sep 17 00:00:00 2001 From: Michael Panchenko Date: Mon, 23 Mar 2026 11:09:16 +0100 Subject: [PATCH] Minor typing issue --- src/solidlsp/lsp_protocol_handler/lsp_types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/solidlsp/lsp_protocol_handler/lsp_types.py b/src/solidlsp/lsp_protocol_handler/lsp_types.py index e6d6b87f..89434f1e 100644 --- a/src/solidlsp/lsp_protocol_handler/lsp_types.py +++ b/src/solidlsp/lsp_protocol_handler/lsp_types.py @@ -10,7 +10,7 @@ This file provides the Python types corresponding to the Typescript types define """ from enum import Enum, IntEnum, IntFlag -from typing import Literal, NotRequired, Union +from typing import Literal, NotRequired, Union, Any from typing_extensions import TypedDict @@ -179,7 +179,7 @@ class SymbolKind(IntEnum): TypeParameter = 26 @classmethod - def _missing_(cls, value: int) -> "SymbolKind": + def _missing_(cls, value: Any) -> "SymbolKind": return cls.Unknown