We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda675e commit 3b8046dCopy full SHA for 3b8046d
src/textual/_callback.py
@@ -48,7 +48,7 @@ async def _invoke(callback: Callable, *params: object) -> Any:
48
return result
49
50
51
-async def invoke(callback: Callable[[], Any], *params: object) -> Any:
+async def invoke(callback: Callable[..., Any], *params: object) -> Any:
52
"""Invoke a callback with an arbitrary number of parameters.
53
54
Args:
0 commit comments