| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5c099742-a760-742f-9cb0-af5ab43bb8bc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9864:6FAD8:B05763:E44411:6B00E76C |
| html-safe-nonce | e2a77420328813f1330a542d6ac79bf1aacb0d9d94a49a5873ad6d0c0fe4c3ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODY0OjZGQUQ4OkIwNTc2MzpFNDQ0MTE6NkIwMEU3NkMiLCJ2aXNpdG9yX2lkIjoiMjMzNzMwNzQyNjAyMzMzNTc4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6cd7fc5dceb0878d3c16da8f27f331f402daf2cddd39f5649b579c3d10515878 |
| hovercard-subject-tag | pull_request:1031558070 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/50377/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/16b4b5692b535a0f93b3e124ed55006be3bf6e96b609ee51fdff517b4d6bc224/microsoft/TypeScript/pull/50377 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16b4b5692b535a0f93b3e124ed55006be3bf6e96b609ee51fdff517b4d6bc224/microsoft/TypeScript/pull/50377 |
| og:image:alt | From this tweet.
The main issue this attempts to solves is the design to drop null/undefined from an array in an ergonomic way by providing an override for arr.filter(Boolean). |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | orta |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/50377#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F50377 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F50377 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/pull/50377 |
| Reload | https://github.com/microsoft/TypeScript/pull/50377 |
| Reload | https://github.com/microsoft/TypeScript/pull/50377 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests308 (308) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Orta Therox (orta) | https://github.com/orta |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| orta:filter_boolean | https://github.com/orta/TypeScript/tree/filter_boolean |
| Conversation | https://github.com/microsoft/TypeScript/pull/50377 |
| Commits3 (3) | https://github.com/microsoft/TypeScript/pull/50377/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/50377/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/50377/files |
| Explore adding the Boolean to filter to narrow out null/undefined in array#filter | https://github.com/microsoft/TypeScript/pull/50377#top |
| Orta Therox (orta) | https://github.com/orta |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| orta:filter_boolean | https://github.com/orta/TypeScript/tree/filter_boolean |
|
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| Aug 19, 2022 | https://github.com/microsoft/TypeScript/pull/50377#issue-1344886716 |
| this tweet | https://twitter.com/mattpocockuk/status/1560594658409029633 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
|
| https://github.com/orta |
| Explore adding the Boolean to filter to narrow out null/undefined | https://github.com/microsoft/TypeScript/pull/50377/commits/a99026a7aa333d3c628f6784bfe6b4461d76aa03 |
| a99026a | https://github.com/microsoft/TypeScript/pull/50377/commits/a99026a7aa333d3c628f6784bfe6b4461d76aa03 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Aug 19, 2022 | https://github.com/microsoft/TypeScript/pull/50377#event-7224981153 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Aug 19, 2022 | https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1221084350 |
| https://github.com/microsoft/TypeScript-DOM-lib-generator | https://github.com/microsoft/TypeScript-DOM-lib-generator |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Aug 19, 2022 | https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1221084352 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
|
lib update
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22lib%20update%22 |
| Aug 19, 2022 | https://github.com/microsoft/TypeScript/pull/50377#event-7224981255 |
|
| https://github.com/orta |
| Use the right file | https://github.com/microsoft/TypeScript/pull/50377/commits/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
| 4ac0e1d | https://github.com/microsoft/TypeScript/pull/50377/commits/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| force-pushed | https://github.com/microsoft/TypeScript/compare/c952f297480f844d789f2f72f1b1d1816710005a..4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
| c952f29 | https://github.com/microsoft/TypeScript/commit/c952f297480f844d789f2f72f1b1d1816710005a |
| 4ac0e1d | https://github.com/microsoft/TypeScript/commit/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
|
Compare
| https://github.com/microsoft/TypeScript/compare/c952f297480f844d789f2f72f1b1d1816710005a..4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
| August 19, 2022 21:16 | https://github.com/microsoft/TypeScript/pull/50377#event-7225073437 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
|
Aug 19, 2022
| https://github.com/microsoft/TypeScript/pull/50377#pullrequestreview-1079368315 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
| tests/baselines/reference/arrayFilterBoolean.types | https://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e#diff-5eb831ebb3f34860a4c9e72f23b42fa4b620c0bbf37ae8494d5abd708437f7b9 |
| Orta Therox (orta) | https://github.com/orta |
| Aug 19, 2022 | https://github.com/microsoft/TypeScript/pull/50377#discussion_r950567342 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| Orta Therox (orta) | https://github.com/orta |
| Aug 23, 2022 | https://github.com/microsoft/TypeScript/pull/50377#discussion_r953021515 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| August 19, 2022 21:28 | https://github.com/microsoft/TypeScript/pull/50377#event-7225117458 |
| https://github.com/aroramrinaal |
| Mrinaal Arora (aroramrinaal) | https://github.com/aroramrinaal |
|
Aug 19, 2022
| https://github.com/microsoft/TypeScript/pull/50377#pullrequestreview-1079418104 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
| https://github.com/ghoullier |
| Grégory Houllier (ghoullier) | https://github.com/ghoullier |
|
Aug 21, 2022
| https://github.com/microsoft/TypeScript/pull/50377#ref-issue-1345413331 |
|
Add BooleanConstructor as an overload to .filter to allow for easy type predicate filtering
#50387
| https://github.com/microsoft/TypeScript/issues/50387 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| force-pushed | https://github.com/microsoft/TypeScript/compare/93035d487d904cd2fd7b5c4008c7381223ba3f46..d283275b4ede832892bf5804baf413f2c3841ac6 |
| 93035d4 | https://github.com/microsoft/TypeScript/commit/93035d487d904cd2fd7b5c4008c7381223ba3f46 |
| d283275 | https://github.com/microsoft/TypeScript/commit/d283275b4ede832892bf5804baf413f2c3841ac6 |
|
Compare
| https://github.com/microsoft/TypeScript/compare/93035d487d904cd2fd7b5c4008c7381223ba3f46..d283275b4ede832892bf5804baf413f2c3841ac6 |
| August 21, 2022 12:43 | https://github.com/microsoft/TypeScript/pull/50377#event-7227659800 |
|
| https://github.com/orta |
| Use a different example, and get it in the readonly filter | https://github.com/microsoft/TypeScript/pull/50377/commits/0c5dbac99b83c1bff1718cd826ed1435e244042b |
| 0c5dbac | https://github.com/microsoft/TypeScript/pull/50377/commits/0c5dbac99b83c1bff1718cd826ed1435e244042b |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| force-pushed | https://github.com/microsoft/TypeScript/compare/d283275b4ede832892bf5804baf413f2c3841ac6..0c5dbac99b83c1bff1718cd826ed1435e244042b |
| d283275 | https://github.com/microsoft/TypeScript/commit/d283275b4ede832892bf5804baf413f2c3841ac6 |
| 0c5dbac | https://github.com/microsoft/TypeScript/commit/0c5dbac99b83c1bff1718cd826ed1435e244042b |
|
Compare
| https://github.com/microsoft/TypeScript/compare/d283275b4ede832892bf5804baf413f2c3841ac6..0c5dbac99b83c1bff1718cd826ed1435e244042b |
| August 21, 2022 12:45 | https://github.com/microsoft/TypeScript/pull/50377#event-7227662290 |
| https://github.com/Jack-Works |
| Jack Works (Jack-Works) | https://github.com/Jack-Works |
|
Aug 22, 2022
| https://github.com/microsoft/TypeScript/pull/50377#pullrequestreview-1079936142 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b |
| src/lib/es5.d.ts | https://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b#diff-bc5657cc7554ca0c944ccc883a1334694829bce1293fd4fc5f2059cada6c003f |
| Jack Works (Jack-Works) | https://github.com/Jack-Works |
| Aug 22, 2022 | https://github.com/microsoft/TypeScript/pull/50377#discussion_r951063961 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| Bruce Pascoe (fatcerberus) | https://github.com/fatcerberus |
| Aug 23, 2022 | https://github.com/microsoft/TypeScript/pull/50377#discussion_r952673587 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #50387 | https://github.com/microsoft/TypeScript/issues/50387 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Aug 26, 2022 | https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1228975917 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| Aug 27, 2022 | https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1229221331 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| https://github.com/craigphicks |
| Craig P Hicks (craigphicks) | https://github.com/craigphicks |
|
Nov 1, 2023
| https://github.com/microsoft/TypeScript/pull/50377#ref-pullrequest-1971588946 |
|
PR-50377-redo-filterBooleanOverload
#56281
| https://github.com/microsoft/TypeScript/pull/56281 |
| https://github.com/craigphicks |
| Craig P Hicks (craigphicks) | https://github.com/craigphicks |
|
Nov 9, 2023
| https://github.com/microsoft/TypeScript/pull/50377#ref-pullrequest-1986481038 |
|
Pr 50377 redo filter boolean overload
#56357
| https://github.com/microsoft/TypeScript/pull/56357 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Mar 31, 2025 | https://github.com/microsoft/TypeScript/pull/50377#issuecomment-2767449986 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Mar 31, 2025 | https://github.com/microsoft/TypeScript/pull/50377#event-17064260307 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Oct 16, 2025 | https://github.com/microsoft/TypeScript/pull/50377#event-20324793519 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F50377 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com/fatcerberus |
|
Bruce Pascoe (fatcerberus)
| https://github.com/fatcerberus |
|
| https://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b |
|
| https://github.com/Jack-Works |
|
Jack Works (Jack-Works)
| https://github.com/Jack-Works |
|
| https://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b |
|
| https://github.com/aroramrinaal |
|
Mrinaal Arora (aroramrinaal)
| https://github.com/aroramrinaal |
|
| https://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
|
lib update
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22lib%20update%22 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/50377 |
|
| https://github.com/orta |
|
| https://github.com/typescript-bot |
|
| https://github.com/RyanCavanaugh |
|
| https://github.com/sandersn |
|
| https://github.com/fatcerberus |
|
| https://github.com/Jack-Works |
|
| https://github.com/aroramrinaal |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |