summaryrefslogtreecommitdiff
path: root/src/click/decorators.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/click/decorators.py')
-rw-r--r--src/click/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/click/decorators.py b/src/click/decorators.py
index 28618dc..4f7ecbb 100644
--- a/src/click/decorators.py
+++ b/src/click/decorators.py
@@ -41,7 +41,7 @@ def pass_obj(f: F) -> F:
def make_pass_decorator(
- object_type: t.Type, ensure: bool = False
+ object_type: t.Type[t.Any], ensure: bool = False
) -> "t.Callable[[F], F]":
"""Given an object type this creates a decorator that will work
similar to :func:`pass_obj` but instead of passing the object of the