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(stdlib)!: Add explicit void return type on Map.forEach #1220

Merged
merged 1 commit into from
May 15, 2022

Conversation

phated
Copy link
Member

@phated phated commented May 13, 2022

In #1088, I noticed that Map.forEach allowed any return value in the iterator function. This explicitly annotates the return type as Void to ensure the signature is correct.

@phated phated requested a review from a team May 13, 2022 23:23
@phated phated merged commit ab2066a into main May 15, 2022
@phated phated deleted the phated/map-foreach-signature branch May 15, 2022 20:54
This was referenced May 15, 2022
@github-actions github-actions bot mentioned this pull request May 31, 2022
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.

4 participants