Skip to content

Commit

Permalink
🚨 fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Dec 24, 2022
1 parent a0a2f41 commit 8ff06d2
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, Literal, Optional, TypedDict, TypeVar
from typing import Any, Generic, Literal, Optional, TypedDict, TypeVar

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


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

Expand Down

0 comments on commit 8ff06d2

Please sign in to comment.