Skip to content

Commit 8aead03

Browse files
committed
Fix types
1 parent 0e9db39 commit 8aead03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

twitchio/ext/overlays/types_.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@
2929

3030
class OverlayPartT(TypedDict):
3131
content: str
32-
size: int
32+
size: NotRequired[int]
3333
speed: NotRequired[str | None]
3434
animation: NotRequired[str | None]
35+
colour: NotRequired[str]
3536

3637

3738
class OverlayEventT(TypedDict):
3839
parts: list[OverlayPartT]
3940
audio: str
40-
duration: int
41+
duration: int | None
4142
duration_is_audio: bool
4243
force_override: bool
4344
stack_event: bool

0 commit comments

Comments
 (0)