Skip to content

Commit 927b04c

Browse files
authored
Merge pull request #20 from omg-xtao/patch-1
fix: TypedDict type error
2 parents a293e88 + 51f5628 commit 927b04c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mipac/types/note.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Generic, Literal, Optional, TypedDict, TypeVar
1+
from typing import Any, Literal, Optional, TypedDict, TypeVar
22

33
from .drive import IDriveFile
44
from .emoji import ICustomEmojiLite
@@ -8,7 +8,7 @@
88
T = TypeVar('T')
99

1010

11-
class INoteUpdated(TypedDict, Generic[T]):
11+
class INoteUpdated(TypedDict):
1212
type: Literal['noteUpdated']
1313
body: T
1414

0 commit comments

Comments
 (0)