Skip to content

Commit

Permalink
Merge pull request #20 from omg-xtao/patch-1
Browse files Browse the repository at this point in the history
fix: TypedDict type error
  • Loading branch information
yupix authored Dec 22, 2022
2 parents a293e88 + 51f5628 commit 927b04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mipac/types/note.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Generic, Literal, Optional, TypedDict, TypeVar
from typing import Any, Literal, Optional, TypedDict, TypeVar

from .drive import IDriveFile
from .emoji import ICustomEmojiLite
Expand All @@ -8,7 +8,7 @@
T = TypeVar('T')


class INoteUpdated(TypedDict, Generic[T]):
class INoteUpdated(TypedDict):
type: Literal['noteUpdated']
body: T

Expand Down

0 comments on commit 927b04c

Please sign in to comment.