Add missing type hints and fix most type errors except for Optionals.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from typing import Dict, NewType
|
||||
|
||||
# MatrixId = NewType('MatrixId', str)
|
||||
MatrixUserId = NewType('MatrixUserId', str)
|
||||
MatrixRoomId = NewType('MatrixRoomId', str)
|
||||
MatrixEventId = NewType('MatrixEventId', str)
|
||||
|
||||
MatrixEvent = NewType('MatrixEvent', Dict)
|
||||
|
||||
TelegramId = NewType('TelegramId', int)
|
||||
Reference in New Issue
Block a user