pyright fix

This commit is contained in:
Elijah 2024-10-16 15:56:42 +00:00
parent a18a5b021d
commit a634a266f4

View File

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