Skip to content

Commit

Permalink
fix(catalog): Fix lists typing
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldedik committed Feb 7, 2025
1 parent 03264fe commit 2a182e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ludic/catalog/lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def render(self) -> ul:
return ul(*children, **self.attrs_for(ul))


class NumberedList(Component[Item | str, OlAttrs]):
class NumberedList(Component[AnyChildren, OlAttrs]):
"""Simple component simulating a numbered list.
There is basically just an alias for the :class:`ol` element
Expand Down

0 comments on commit 2a182e2

Please sign in to comment.