Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Myriad-Dreamin opened this issue Aug 27, 2023 · 0 comments
Open

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

Myriad-Dreamin opened this issue Aug 27, 2023 · 0 comments

Comments

@Myriad-Dreamin
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant