| 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:3e758f6b-9738-1bfd-37b8-6112209fefb6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D55E:3A73AA:17981F9:1DDA4DC:6B0178F7 |
| html-safe-nonce | a66a6a1db80da132efd766b9c455e9a92b455198e197de821a25685c9e93da17 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTVFOjNBNzNBQToxNzk4MUY5OjFEREE0REM6NkIwMTc4RjciLCJ2aXNpdG9yX2lkIjoiMjg5NjMzODQ5MjM3MDAyNDY5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a0f919012819703510eee58f5623fd855decedfd6d3cb0655efae6f40b46ea76 |
| hovercard-subject-tag | pull_request:1249096199 |
| 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/52897/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f6a004ed2ba1f2a4c12f3fd99d0eb0fd4452bbdb261ce4dcc44b09bfbc17e18e/microsoft/TypeScript/pull/52897 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6a004ed2ba1f2a4c12f3fd99d0eb0fd4452bbdb261ce4dcc44b09bfbc17e18e/microsoft/TypeScript/pull/52897 |
| og:image:alt | I noticed this while working on cleaning up our (inconsistent) use of the binary search and ordered insert APIs.
The binary search API requires that you have comparisons of exactly -1 | 0 | 1, howe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakebailey |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/52897#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F52897 |
| 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%2F52897 |
| 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/52897 |
| Reload | https://github.com/microsoft/TypeScript/pull/52897 |
| Reload | https://github.com/microsoft/TypeScript/pull/52897 |
| 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 requests312 (312) | 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 |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| jakebailey:fix-comparer | https://github.com/jakebailey/TypeScript/tree/fix-comparer |
| Conversation | https://github.com/microsoft/TypeScript/pull/52897 |
| Commits5 (5) | https://github.com/microsoft/TypeScript/pull/52897/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/52897/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/52897/files |
| Ensure that Comparers only return -1, 0, 1 so results can be equated | https://github.com/microsoft/TypeScript/pull/52897#top |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| jakebailey:fix-comparer | https://github.com/jakebailey/TypeScript/tree/fix-comparer |
|
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issue-1593906738 |
| Playground Link | https://www.typescriptlang.org/play?ts=4.9.5#code/KYOwrgtgBAwg9hADgQwE4EsDOcRQN4BQUxUAMsJpgCoAWyuJAvFALQCMANESQKICOYZABsqcEsWYAGLuIDiqYMgAuwVLXpRmbAgF8CBJQE9EwWAhQLUAHioA+TVAAUyAFxQqHKACM3VAJSa9vBIaFg4ANz6ACbAAMZCaKYAZmAgsUroOFCx5ok2ts6+nj7unjkhlm7BFqr5fm5ecHBCiiCR+uU1jpxQbJL9ns7FAYxBuRjYIAB0-IIicH7tBAD0y+40FKaJUKmYyEnAAIQEnYndnn0DTsjDgVDIrN6LJ+PA57390te3o1AATM99EYTGYKqo-vkHIVSt5fCN7OwoAAfKCSZG9doxeLbFJpDJZU4KCF2aEeWEwwmqKqvVDE2z1bxNFr0dqUv7vS5fIZPO7VUKTGYCYSiQGrdZYKASgDmTSixzZHM+gxuPN+DxYT0iCp6nOVP3sAPCQA |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
|
| https://github.com/jakebailey |
| Ensure that Comparers only return -1, 0, 1 so results can be equated | https://github.com/microsoft/TypeScript/pull/52897/commits/2106d54771599640ddc50a4bdcdbabb8a35328bb |
| 2106d54 | https://github.com/microsoft/TypeScript/pull/52897/commits/2106d54771599640ddc50a4bdcdbabb8a35328bb |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#event-8573770069 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#event-8573770214 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1438906322 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1438906361 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| Jake Bailey (@jakebailey) | https://github.com/jakebailey |
| 2106d54 | https://github.com/microsoft/TypeScript/commit/2106d54771599640ddc50a4bdcdbabb8a35328bb |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=147089 |
| The results are in! | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1439133873 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/DanielRosenwasser |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1438935944 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1438938009 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1438939016 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| #52891 | https://github.com/microsoft/TypeScript/pull/52891 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 21, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1439133873 |
| Jake Bailey (@jakebailey) | https://github.com/jakebailey |
| Download Benchmark | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/147089/artifacts?artifactName=benchmark&fileId=055BF92BC52239A06DCFC25D702A2C81BBBCBF13240C11EEE7C2C2BE1394A5F902&fileName=linux.benchmark |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/fatcerberus |
| Bruce Pascoe (fatcerberus) | https://github.com/fatcerberus |
| Feb 22, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1441021045 |
| Playground | https://www.typescriptlang.org/play?ts=5.0.0-dev.20230222#code/KYOwrgtgBAwg9hADgQwE4EsDOcRQN4BQUxUAMsJpgCoAWyuJAvFALQCMANESQKICOYZABsqcEsWYAGLuIDiqYMgAuwVLXpRmbAgF8CBJQE9EwWAhQLUAHioA+TVAAUyAFxQqHKACM3VAJSa9vBIaFg4ANz6ACbAAMZCaKYAZmAgsUroOFCx5ok2ts6+nj7unjkhlm7BFqr5fm5ecHBCiiCR+uU1jpxQbJL9ns7FAYxBuRjYIAB0-IIicH7tBAD0y+40FKaJUKmYyEnAAIQEnYndnn0DTsjDgVDIrN6LJ+PA57390te3o1AATM99EYTGYKqo-vkHIVSt5fCN7OwoAAfKCSZG9doxeLbFJpDJZU4KCF2aEeWEwwmqKqvVDE2z1bxNFr0dqUv7vS5fIZPO7VUKTGYCYSiQGrdZYKASgDmTSixzZHM+gxuPN+DxYT0iCp6nOVP3sAPCQA |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Feb 23, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1441022387 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/rbuckton |
| Ron Buckton (rbuckton) | https://github.com/rbuckton |
| Feb 24, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1443765997 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/rbuckton |
| Ron Buckton (rbuckton) | https://github.com/rbuckton |
| Feb 24, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1443782922 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Feb 24, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1443950034 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| https://github.com/rbuckton |
| Ron Buckton (rbuckton) | https://github.com/rbuckton |
| Feb 24, 2023 | https://github.com/microsoft/TypeScript/pull/52897#issuecomment-1444492115 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| August 30, 2023 10:40 | https://github.com/microsoft/TypeScript/pull/52897#commits-pushed-8c59232 |
|
| https://github.com/jakebailey |
| Merge branch 'main' into fix-comparer | https://github.com/microsoft/TypeScript/pull/52897/commits/8c592320fa1a84c8c6eb5db108f5bb8a0c6378c3 |
| 8c59232 | https://github.com/microsoft/TypeScript/pull/52897/commits/8c592320fa1a84c8c6eb5db108f5bb8a0c6378c3 |
|
| https://github.com/jakebailey |
| Use Math.sign | https://github.com/microsoft/TypeScript/pull/52897/commits/0185816d1b294ca15edf970429332a85cd1eacb1 |
| 0185816 | https://github.com/microsoft/TypeScript/pull/52897/commits/0185816d1b294ca15edf970429332a85cd1eacb1 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
|
Feb 21, 2024
| https://github.com/microsoft/TypeScript/pull/52897#ref-pullrequest-2113738837 |
|
Change detection in organizeImports
#57267
| https://github.com/microsoft/TypeScript/pull/57267 |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| June 29, 2024 17:14 | https://github.com/microsoft/TypeScript/pull/52897#commits-pushed-c2b2946 |
|
| https://github.com/jakebailey |
| Merge branch 'main' into fix-comparer | https://github.com/microsoft/TypeScript/pull/52897/commits/c2b2946cb9f811401f6cfab1768612f9a7e8e651 |
| c2b2946 | https://github.com/microsoft/TypeScript/pull/52897/commits/c2b2946cb9f811401f6cfab1768612f9a7e8e651 |
|
| https://github.com/jakebailey |
| Merge branch 'main' into fix-comparer | https://github.com/microsoft/TypeScript/pull/52897/commits/c239571ef082334f8d1eee86a1e522eeb13a19de |
| c239571 | https://github.com/microsoft/TypeScript/pull/52897/commits/c239571ef082334f8d1eee86a1e522eeb13a19de |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
|
Aug 16, 2024
| https://github.com/microsoft/TypeScript/pull/52897#ref-pullrequest-2471041413 |
|
Add lint rule to prevent misuse of Comparison enum
#59662
| https://github.com/microsoft/TypeScript/pull/59662 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Apr 2, 2025 | https://github.com/microsoft/TypeScript/pull/52897#event-17099445089 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Oct 16, 2025 | https://github.com/microsoft/TypeScript/pull/52897#event-20324797425 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| August 20, 2026 05:20 | https://github.com/microsoft/TypeScript/pull/52897#event-29723579294 |
| 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%2F52897 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
|
| https://github.com/jakebailey |
|
Jake Bailey (jakebailey)
| https://github.com/jakebailey |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/52897 |
|
| https://github.com/jakebailey |
|
| https://github.com/typescript-bot |
|
| https://github.com/DanielRosenwasser |
|
| https://github.com/fatcerberus |
|
| https://github.com/rbuckton |
|
| 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 |