chore: re-add type requirement

This commit is contained in:
Matthias
2025-10-08 07:08:48 +02:00
parent 34cba1480e
commit d8a89a3a42

View File

@@ -16,11 +16,11 @@ class _BaseAnnotationType(TypedDict, total=False):
class AreaAnnotationType(_BaseAnnotationType, total=False):
type: Literal["area"]
type: Required[Literal["area"]]
class LineAnnotationType(_BaseAnnotationType, total=False):
type: Literal["line"]
type: Required[Literal["line"]]
width: int
line_style: Literal["solid", "dashed", "dotted"]