mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 08:35:53 +00:00
Fix type errors in all examples
This commit is contained in:
@ -68,7 +68,7 @@ if TYPE_CHECKING:
|
||||
|
||||
SelectCallbackDecorator = Callable[[ItemCallbackType['S', BaseSelectT]], BaseSelectT]
|
||||
|
||||
S = TypeVar('S', bound='ActionRow', covariant=True)
|
||||
S = TypeVar('S', bound=Union['ActionRow', 'LayoutView'], covariant=True)
|
||||
V = TypeVar('V', bound='LayoutView', covariant=True)
|
||||
|
||||
__all__ = ('ActionRow',)
|
||||
|
Reference in New Issue
Block a user