diff --git a/kitty/types.py b/kitty/types.py index 33dcdb2ae..af6e667ae 100644 --- a/kitty/types.py +++ b/kitty/types.py @@ -120,5 +120,4 @@ def ac(group: ActionGroup, doc: str) -> Callable[[_T], _T]: return w -_BaseDecoratedFunc = Callable[..., Any] -DecoratedFunc = TypeVar('DecoratedFunc', bound=_BaseDecoratedFunc) +DecoratedFunc = TypeVar('DecoratedFunc', bound=Callable[..., Any])