| 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:20bece83-87d6-8417-f5f8-e0cc7f4ae7e9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 87F8:B9E9B:994050:CF579B:6A60147F |
| html-safe-nonce | d93bda0531c871f8c349d89efd039bc1c8abf23ce7710341d4bdc0f6e6e37aaf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0Y4OkI5RTlCOjk5NDA1MDpDRjU3OUI6NkE2MDE0N0YiLCJ2aXNpdG9yX2lkIjoiNjY0NjU5NTY3NjI4MDk4NDcwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b4c606ebef10fc944f60d673a30cd0aaf4236543e5be7918ffb94de7166b6a29 |
| hovercard-subject-tag | pull_request:678085589 |
| 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/44746/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/20a3fea6216d3454751ad7462c0da195f6c09375323fa3d2f3d3a174a7782a09/microsoft/TypeScript/pull/44746 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20a3fea6216d3454751ad7462c0da195f6c09375323fa3d2f3d3a174a7782a09/microsoft/TypeScript/pull/44746 |
| og:image:alt | This is the line number side of ecddf84 (from #21924, fixing #21818).
But the code is slightly improved for both cases: instead of testing
that leaf is defined, check whether lineCount is zero, and... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | elibarzilay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 399e662401f6b9a532ecd80b305d17b9efadd864681448a290ab2901b98f288a |
| 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 | 2f4d68ce236d24a2cd682f94ef8bd8537c09d73d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/44746#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F44746 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F44746 |
|
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/44746 |
| Reload | https://github.com/microsoft/TypeScript/pull/44746 |
| Reload | https://github.com/microsoft/TypeScript/pull/44746 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
|
microsoft
| https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
|
Notifications
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Fork
13.6k
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Star
110k
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Code
| https://github.com/microsoft/TypeScript |
|
Issues
5k+
| https://github.com/microsoft/TypeScript/issues |
|
Pull requests
30
| https://github.com/microsoft/TypeScript/pulls |
|
Actions
| https://github.com/microsoft/TypeScript/actions |
|
Projects
| https://github.com/microsoft/TypeScript/projects |
|
Models
| https://github.com/microsoft/TypeScript/models |
|
Wiki
| https://github.com/microsoft/TypeScript/wiki |
|
Security and quality
0
| https://github.com/microsoft/TypeScript/security |
|
Insights
| https://github.com/microsoft/TypeScript/pulse |
|
Code
| https://github.com/microsoft/TypeScript |
|
Issues
| https://github.com/microsoft/TypeScript/issues |
|
Pull requests
| https://github.com/microsoft/TypeScript/pulls |
|
Actions
| https://github.com/microsoft/TypeScript/actions |
|
Projects
| https://github.com/microsoft/TypeScript/projects |
|
Models
| https://github.com/microsoft/TypeScript/models |
|
Wiki
| https://github.com/microsoft/TypeScript/wiki |
|
Security and quality
| https://github.com/microsoft/TypeScript/security |
|
Insights
| https://github.com/microsoft/TypeScript/pulse |
| elibarzilay | https://github.com/elibarzilay |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| elibarzilay:44518 | https://github.com/elibarzilay/TypeScript/tree/44518 |
| Conversation | https://github.com/microsoft/TypeScript/pull/44746 |
| Commits1 (1) | https://github.com/microsoft/TypeScript/pull/44746/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/44746/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/44746/files |
| Fix bad line number assertion in ScriptInfo.positionToLineOffset | https://github.com/microsoft/TypeScript/pull/44746#top |
| elibarzilay | https://github.com/elibarzilay |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| elibarzilay:44518 | https://github.com/elibarzilay/TypeScript/tree/44518 |
|
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| Jun 25, 2021 | https://github.com/microsoft/TypeScript/pull/44746#issue-930384360 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| ecddf84 | https://github.com/microsoft/TypeScript/commit/ecddf8468fae73208126f2bc5aba4c39ef1e0875 |
| #21924 | https://github.com/microsoft/TypeScript/pull/21924 |
| #21818 | https://github.com/microsoft/TypeScript/issues/21818 |
| #21924 | https://github.com/microsoft/TypeScript/pull/21924 |
| #44518 | https://github.com/microsoft/TypeScript/issues/44518 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| amcasey | https://github.com/amcasey |
| sheetalkamat | https://github.com/sheetalkamat |
| June 25, 2021 17:52 | https://github.com/microsoft/TypeScript/pull/44746#event-4941299466 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| elibarzilay | https://github.com/elibarzilay |
| Jun 25, 2021 | https://github.com/microsoft/TypeScript/pull/44746#event-4941299830 |
| https://github.com/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 Milestone Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22 |
| Jun 25, 2021 | https://github.com/microsoft/TypeScript/pull/44746#event-4941299863 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| Jun 25, 2021 | https://github.com/microsoft/TypeScript/pull/44746#issuecomment-868736179 |
| @amcasey | https://github.com/amcasey |
| #21924 | https://github.com/microsoft/TypeScript/pull/21924 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/amcasey |
| amcasey | https://github.com/amcasey |
|
Jun 28, 2021
| https://github.com/microsoft/TypeScript/pull/44746#pullrequestreview-694203861 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/44746/files |
| src/server/scriptVersionCache.ts | https://github.com/microsoft/TypeScript/pull/44746/files#diff-937b0753d2ae76b40934519ca05034703cf7abcdec9cf4e0b60c47949bb890f9 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/amcasey |
| amcasey | https://github.com/amcasey |
|
Jun 28, 2021
| https://github.com/microsoft/TypeScript/pull/44746#pullrequestreview-694213884 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/44746/files |
| src/server/scriptVersionCache.ts | https://github.com/microsoft/TypeScript/pull/44746/files#diff-937b0753d2ae76b40934519ca05034703cf7abcdec9cf4e0b60c47949bb890f9 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| src/server/scriptVersionCache.ts | https://github.com/microsoft/TypeScript/pull/44746/files#diff-937b0753d2ae76b40934519ca05034703cf7abcdec9cf4e0b60c47949bb890f9 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| src/server/scriptVersionCache.ts | https://github.com/microsoft/TypeScript/pull/44746/files#diff-937b0753d2ae76b40934519ca05034703cf7abcdec9cf4e0b60c47949bb890f9 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| force-pushed | https://github.com/microsoft/TypeScript/compare/2fd3cd996687e21bebbc81c9475a165ec40c60f8..86872faead80a6e12defa4f7ad2b9b64bd7f5b8d |
| 2fd3cd9 | https://github.com/microsoft/TypeScript/commit/2fd3cd996687e21bebbc81c9475a165ec40c60f8 |
| 86872fa | https://github.com/microsoft/TypeScript/commit/86872faead80a6e12defa4f7ad2b9b64bd7f5b8d |
|
Compare
| https://github.com/microsoft/TypeScript/compare/2fd3cd996687e21bebbc81c9475a165ec40c60f8..86872faead80a6e12defa4f7ad2b9b64bd7f5b8d |
| June 28, 2021 18:30 | https://github.com/microsoft/TypeScript/pull/44746#event-4949117528 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| Jun 28, 2021 | https://github.com/microsoft/TypeScript/pull/44746#issuecomment-869921294 |
| @amcasey | https://github.com/amcasey |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/amcasey |
| amcasey | https://github.com/amcasey |
| Jun 28, 2021 | https://github.com/microsoft/TypeScript/pull/44746#issuecomment-870106858 |
| @elibarzilay | https://github.com/elibarzilay |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| Jun 29, 2021 | https://github.com/microsoft/TypeScript/pull/44746#issuecomment-870146125 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
|
| https://github.com/elibarzilay |
| Fix bad line number assertion in ScriptInfo.positionToLineOffset | https://github.com/microsoft/TypeScript/pull/44746/commits/2891e45dd0be4bd08acc66e5cc42983c9a7e8c94 |
| 2891e45 | https://github.com/microsoft/TypeScript/pull/44746/commits/2891e45dd0be4bd08acc66e5cc42983c9a7e8c94 |
| ecddf84 | https://github.com/elibarzilay/TypeScript/commit/ecddf8468fae73208126f2bc5aba4c39ef1e0875 |
| microsoft#21924 | https://github.com/microsoft/TypeScript/pull/21924 |
| microsoft#21818 | https://github.com/microsoft/TypeScript/issues/21818 |
| microsoft#21924 | https://github.com/microsoft/TypeScript/pull/21924 |
| microsoft#44518 | https://github.com/microsoft/TypeScript/issues/44518 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| force-pushed | https://github.com/microsoft/TypeScript/compare/86872faead80a6e12defa4f7ad2b9b64bd7f5b8d..2891e45dd0be4bd08acc66e5cc42983c9a7e8c94 |
| 86872fa | https://github.com/microsoft/TypeScript/commit/86872faead80a6e12defa4f7ad2b9b64bd7f5b8d |
| 2891e45 | https://github.com/microsoft/TypeScript/commit/2891e45dd0be4bd08acc66e5cc42983c9a7e8c94 |
|
Compare
| https://github.com/microsoft/TypeScript/compare/86872faead80a6e12defa4f7ad2b9b64bd7f5b8d..2891e45dd0be4bd08acc66e5cc42983c9a7e8c94 |
| June 29, 2021 05:48 | https://github.com/microsoft/TypeScript/pull/44746#event-4951229981 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| Jun 29, 2021 | https://github.com/microsoft/TypeScript/pull/44746#event-4951231204 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| Jun 29, 2021 | https://github.com/microsoft/TypeScript/pull/44746#issuecomment-870326931 |
| @amcasey | https://github.com/amcasey |
| #21924 | https://github.com/microsoft/TypeScript/pull/21924 |
| #21924 | https://github.com/microsoft/TypeScript/pull/21924 |
| #21818 | https://github.com/microsoft/TypeScript/issues/21818 |
| #44518 | https://github.com/microsoft/TypeScript/issues/44518 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/amcasey |
| amcasey | https://github.com/amcasey |
|
Jun 29, 2021
| https://github.com/microsoft/TypeScript/pull/44746#pullrequestreview-695236686 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/44746/files/2891e45dd0be4bd08acc66e5cc42983c9a7e8c94 |
| amcasey | https://github.com/amcasey |
| https://github.com/microsoft/TypeScript/pull/44746#pullrequestreview-695236686 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| f47ddbc | https://github.com/microsoft/TypeScript/commit/f47ddbc3b0c6421c38b18e56f8da88434a473c8d |
| Jun 29, 2021 | https://github.com/microsoft/TypeScript/pull/44746#event-4955324899 |
| https://github.com/elibarzilay |
| elibarzilay | https://github.com/elibarzilay |
| June 29, 2021 18:13 | https://github.com/microsoft/TypeScript/pull/44746#event-4955325124 |
| https://github.com/sandersn |
| sandersn | https://github.com/sandersn |
|
Oct 30, 2024
| https://github.com/microsoft/TypeScript/pull/44746#ref-pullrequest-2625044285 |
|
Fix a crash in an anonymous buffer that copilot is writing to.
#60377
| https://github.com/microsoft/TypeScript/pull/60377 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/44746#event-20417419241 |
| 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%2F44746 |
|
| https://github.com/sheetalkamat |
|
sheetalkamat
| https://github.com/sheetalkamat |
|
| https://github.com/amcasey |
|
amcasey
| https://github.com/amcasey |
|
| https://github.com/microsoft/TypeScript/pull/44746/files/2891e45dd0be4bd08acc66e5cc42983c9a7e8c94 |
|
| https://github.com/elibarzilay |
|
elibarzilay
| https://github.com/elibarzilay |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
|
For Milestone Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22 |
|
TypeScript Server Error (4.3.2): False expression: Expected line to be non-zero
| https://github.com/microsoft/TypeScript/issues/44518 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/44746 |
|
| https://github.com/elibarzilay |
|
| https://github.com/amcasey |
|
| https://github.com/typescript-bot |
|
| 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 |