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

Clarify type of lvl0 #1856

Closed
kai687 opened this issue Apr 16, 2023 · 1 comment · Fixed by #1859
Closed

Clarify type of lvl0 #1856

kai687 opened this issue Apr 16, 2023 · 1 comment · Fixed by #1859

Comments

@kai687
Copy link
Contributor

kai687 commented Apr 16, 2023

Hi!

On this page: https://docsearch.algolia.com/docs/record-extractor#lvl0, the expected type for lvl0 is type Lvl0, but the examples on the page all show strings.

I'm happy to make a PR myself, but wanted to clarify the right course of action first, i.e., fixing the examples or fixing the type in the reference.

@shortcuts
Copy link
Member

Hey, thanks indeed some examples are wrong here! It should be a type Lvl0 everywhere

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

Successfully merging a pull request may close this issue.

2 participants