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

Make anyArray.filter(Boolean) return any[], not unknown[] #31515

Merged
merged 5 commits into from
May 22, 2019

Commits on May 21, 2019

  1. Add this-parameter workaround to Array.filter

    Allows anys.filter(Boolean) to once again return any[], not unknown[].
    sandersn committed May 21, 2019
    Configuration menu
    Copy the full SHA
    ccf38f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f80dd7e View commit details
    Browse the repository at this point in the history
  3. Add any constraint to Boolean factory function

    I want to test how well this works.
    sandersn committed May 21, 2019
    Configuration menu
    Copy the full SHA
    e118188 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Configuration menu
    Copy the full SHA
    cff71c9 View commit details
    Browse the repository at this point in the history
  2. Remove typeGuardBoolean test

    sandersn committed May 22, 2019
    Configuration menu
    Copy the full SHA
    ab9d935 View commit details
    Browse the repository at this point in the history