fix pyright

This commit is contained in:
Elijah 2024-10-24 13:52:32 +00:00
parent f1d27d81b1
commit 6a67e8f417

View File

@ -538,7 +538,7 @@ class ShikiCodeBlock(Component):
) )
# The decorations to use for the syntax highlighter. # The decorations to use for the syntax highlighter.
decorations: Var[list[dict[str, Any]]] = [] decorations: Var[list[dict[str, Any]]] = Var.create([])
@classmethod @classmethod
def create( def create(