Myriad-Dreamin / shiroa

shiroa is a simple tool for creating modern online books in pure typst.
https://myriad-dreamin.github.io/shiroa/
Apache License 2.0
234 stars 17 forks source link

invalid type: map, expected a sequence with [] #24

Open Myriad-Dreamin opened 12 months ago

Myriad-Dreamin commented 12 months ago

Some early users reported a hard-to-guess error:

typst-book error: convert_to<BookMeta>: invalid type: map, expected a sequence with []

This is because we (and typst compiler) don't check type for book meta fields. This error should be more readable after we do some manual type checking in the @preview/book package.