diff --git a/plugin/core/types.py b/plugin/core/types.py index a07edf1a0..eef8d040e 100644 --- a/plugin/core/types.py +++ b/plugin/core/types.py @@ -562,7 +562,7 @@ def unregister( def assign(self, d: ServerCapabilities) -> None: textsync = normalize_text_sync(d.pop("textDocumentSync", None)) - super().assign(cast(dict[str, Any], d)) + super().assign(cast(dict, d)) if textsync: self.update(textsync)