From f4deab829acc6f693c71cb22ef50288a8ec58706 Mon Sep 17 00:00:00 2001 From: Prajithaa Date: Mon, 5 Jan 2026 22:22:58 +0530 Subject: [PATCH] Fix incorrect type hint for aliases decorator --- src/argh/decorators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/argh/decorators.py b/src/argh/decorators.py index 0de1c98..86e951d 100644 --- a/src/argh/decorators.py +++ b/src/argh/decorators.py @@ -52,7 +52,8 @@ 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::