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 980b6a3 commit d697a6bCopy full SHA for d697a6b
tanjun/hooks.py
@@ -42,7 +42,7 @@
42
from . import abc as tanjun
43
from . import errors
44
45
-if typing.TypeVar:
+if typing.TYPE_CHECKING:
46
_CommandT = typing.TypeVar("_CommandT", bound=tanjun.ExecutableCommand[typing.Any])
47
_ErrorHookSigT = typing.TypeVar("_ErrorHookSigT", bound=tanjun.ErrorHookSig)
48
_HookSigT = typing.TypeVar("_HookSigT", bound=tanjun.HookSig)
0 commit comments