From 4016c200e9abfa9b2c18a3864b0e9134f82e895a Mon Sep 17 00:00:00 2001 From: augustelalande <auguste.lalande@gmail.com> Date: Tue, 20 Aug 2024 15:39:53 -0400 Subject: [PATCH] Fix type hint for alias decorator --- src/argh/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/argh/decorators.py b/src/argh/decorators.py index 0de1c98..69da401 100644 --- a/src/argh/decorators.py +++ b/src/argh/decorators.py @@ -52,7 +52,7 @@ def wrapper(func: Callable) -> Callable: return wrapper -def aliases(*names: List[str]) -> Callable: +def aliases(*names: str) -> Callable: """ Defines alternative command name(s) for given function (along with its original name). Usage::