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

Missing field in inexact doc #1017

Closed
Dronte opened this issue Sep 13, 2023 · 1 comment · Fixed by #1018
Closed

Missing field in inexact doc #1017

Dronte opened this issue Sep 13, 2023 · 1 comment · Fixed by #1018
Labels

Comments

@Dronte
Copy link

Dronte commented Sep 13, 2023

Description of the bug
Looks like the documentation of inexact decoder is missing field for y.
It is now

const decoder = inexact({
    x: number,
});

While should be

const decoder = inexact({
    x: number,
    y: number,
});

as in exact decoder above.

Or am I missing something?

@Dronte Dronte added the bug label Sep 13, 2023
@nvie
Copy link
Owner

nvie commented Sep 13, 2023

You’re right! Thanks for pointing it out. I’ll get this fixed.

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

Successfully merging a pull request may close this issue.

2 participants