Make pyright happy

This commit is contained in:
Lonami Exo
2024-03-16 19:05:58 +01:00
parent 854096e9d3
commit 033b56f1d3
55 changed files with 435 additions and 309 deletions

View File

@@ -7,7 +7,7 @@ from telethon._impl.mtproto import Intermediate
class Output(bytearray):
__slots__ = ()
def __call__(self, data: bytes) -> None:
def __call__(self, data: bytes | bytearray | memoryview) -> None:
self += data