fix pyright
This commit is contained in:
parent
f1d27d81b1
commit
6a67e8f417
@ -538,7 +538,7 @@ class ShikiCodeBlock(Component):
|
||||
)
|
||||
|
||||
# The decorations to use for the syntax highlighter.
|
||||
decorations: Var[list[dict[str, Any]]] = []
|
||||
decorations: Var[list[dict[str, Any]]] = Var.create([])
|
||||
|
||||
@classmethod
|
||||
def create(
|
||||
|
Loading…
Reference in New Issue
Block a user