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

(fix): isArrayOfNodes input type not assignable to guarded type #127

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

drewhoener
Copy link

@drewhoener drewhoener commented Jul 26, 2023

using isArrayOfNodes gives a warning that Array<Node> | SelectedValue is not assignable to SelectedValue.
This doesn't make sense, since you'd be using this when calling select, which returns exactly that type.

Fixes #126

@dhedegaard-digisense
Copy link

Looks good to me 👍

@JLRishe JLRishe merged commit d1625a4 into goto100:master Dec 16, 2023
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

Successfully merging this pull request may close these issues.

New type guard checks have the wrong input type
3 participants