Skip to content

[Flow] Add undefined as a possible return value from find and findLast #2015

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

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

Dagur
Copy link
Contributor

@Dagur Dagur commented Aug 27, 2024

The current definition always expects a value to be found. This has caused bugs in projects I have worked on.

@jdeniau jdeniau changed the base branch from main to 5.x August 27, 2024 19:29
@jdeniau jdeniau merged commit c45a572 into immutable-js:5.x Aug 27, 2024
5 checks passed
@jdeniau
Copy link
Member

jdeniau commented Aug 27, 2024

I merged this in 5.x as there probably won't be any version on 4.x anymore.
It will be released in 5.0.0.

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.

2 participants