pyright fix for real

This commit is contained in:
Elijah 2024-10-16 20:17:22 +00:00
parent 8bf79bdeff
commit 340699125f

View File

@ -205,9 +205,9 @@ class Markdown(Component):
_CHILDREN _CHILDREN
if tag != "codeblock" if tag != "codeblock"
else ternary_operation( else ternary_operation(
ARRAY_ISARRAY.call(_CHILDREN), ARRAY_ISARRAY.call(_CHILDREN), # type: ignore
_CHILDREN.to(list)[0], _CHILDREN.to(list)[0],
_CHILDREN, # type: ignore _CHILDREN,
).to(str) ).to(str)
] ]