mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Fix type error with ItemCallbackType
This commit is contained in:
@ -45,10 +45,11 @@ if TYPE_CHECKING:
|
||||
|
||||
from .view import BaseView
|
||||
from .action_row import ActionRow
|
||||
from .container import Container
|
||||
from ..emoji import Emoji
|
||||
from ..types.components import ButtonComponent as ButtonComponentPayload
|
||||
|
||||
S = TypeVar('S', bound='Union[BaseView, ActionRow]', covariant=True)
|
||||
S = TypeVar('S', bound='Union[BaseView, Container, ActionRow]', covariant=True)
|
||||
V = TypeVar('V', bound='BaseView', covariant=True)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user