mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix partially uknown typing errors
This commit is contained in:
1 parent
6910943703
commit
1de3562f34
3 files changed
+14
-14
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ if TYPE_CHECKING:
|
||||
from .view import View
|
||||
from ..components import Component
|
||||
|
||||
I = TypeVar('I', bound='Item')
|
||||
I = TypeVar('I', bound='Item[Any]')
|
||||
V = TypeVar('V', bound='View', covariant=True)
|
||||
ItemCallbackType = Callable[[V, Interaction[Any], I], Coroutine[Any, Any, Any]]
|
||||
|
||||
|
||||
Reference in new issue
Block a user