Skip to content

Commit d53154d

Browse files
committed
fix types
1 parent 06628f4 commit d53154d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idom/core/vdom.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def custom_vdom_constructor(func: _CustomVdomDictConstructor) -> VdomDictConstru
251251
"""Cast function to VdomDictConstructor"""
252252

253253
@wraps(func)
254-
def wrapper(*attributes_and_children: Any):
254+
def wrapper(*attributes_and_children: Any) -> VdomDict:
255255
attributes, children = separate_attributes_and_children(attributes_and_children)
256256
key = attributes.pop("key", None)
257257
attributes, event_handlers = separate_attributes_and_event_handlers(attributes)

0 commit comments

Comments
 (0)