Skip to content

Commit e4aa655

Browse files
committed
fix type annotation
1 parent a6c10a8 commit e4aa655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idom/web/module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def module_from_string(
242242
resolve_exports: bool = IDOM_DEBUG_MODE.current,
243243
resolve_exports_depth: int = 5,
244244
unmount_before_update: bool = False,
245-
):
245+
) -> WebModule:
246246
"""Load a :class:`WebModule` whose ``content`` comes from a string.
247247
248248
Parameters:

0 commit comments

Comments
 (0)