fix type check

This commit is contained in:
James Westman 2021-10-27 12:39:40 -05:00
parent c1ee4151d0
commit 69fbd07fac
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6

View file

@ -34,7 +34,7 @@ def command(json_method):
class LanguageServer:
commands: T.Dict[str, T.Callable[[LanguageServer, T.Union[str, int], T.Any], None]] = {}
commands: T.Dict[str, T.Callable] = {}
def __init__(self):
self.client_capabilities = {}