-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
add Array.prototype.filter signature with type guard #10916
add Array.prototype.filter signature with type guard #10916
Conversation
Hi @maiermic, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
thanks @maiermic, some baslines changed, you will need to do a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to update the baselines as well. gulp baseline-accept
will do the trick.
@mhegazy Thanks, I appreciate your help. |
waiting on the CI. |
@mhegazy Two tests failed on my machine. I ran Update: Tests passed on my machine and I pushed my changes. Waiting on the CI again 😅 |
@mhegazy Is it possible to merge this? |
Sorry this fell off my list for a while. one more comment, we need to update the filter method on ReadOnlyArray, and the TypedArray varients, e.g. Int32Array (all in the same file). |
@mhegazy Could you review again taking into account latest comment #10916 (comment)? |
# Conflicts: # tests/baselines/reference/arrayFilter.symbols # tests/baselines/reference/arrayFilter.types # tests/baselines/reference/declarationEmitPromise.symbols # tests/baselines/reference/declarationEmitPromise.types # tests/baselines/reference/genericMethodOverspecialization.symbols # tests/baselines/reference/genericMethodOverspecialization.types
What's the status on this? |
This has been solved by #16223 in the meantime. |
See #7657 and #10027