Skip to content

Commit 65b5d65

Browse files
committed
use sequence instead of list
1 parent c52dd12 commit 65b5d65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/idom/core/types.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import sys
44
from collections import namedtuple
5+
from collections.abc import Sequence
56
from types import TracebackType
67
from typing import (
78
TYPE_CHECKING,
@@ -14,7 +15,6 @@
1415
Mapping,
1516
NamedTuple,
1617
Optional,
17-
Sequence,
1818
Type,
1919
TypeVar,
2020
Union,
@@ -233,5 +233,5 @@ class LayoutEventMessage(TypedDict):
233233
"""The type of message"""
234234
target: str
235235
"""The ID of the event handler."""
236-
data: List[Any]
236+
data: Sequence[Any]
237237
"""A list of event data passed to the event handler."""

0 commit comments

Comments
 (0)