| 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:a6e50e9e-17ce-fe4c-79f7-1be46adbb6d0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF54:3C21B:2F21ECD:3C3FE3C:6B01B5EC |
| html-safe-nonce | 3b480362917f0c7348c5d9f885b3571e215b49b1bc9eafd172a0564e18367a6b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjU0OjNDMjFCOjJGMjFFQ0Q6M0MzRkUzQzo2QjAxQjVFQyIsInZpc2l0b3JfaWQiOiI0NTI4OTEwODQ2Mzk4Njc0NDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ec58f2465edd5dd4ca4ef4e0a1504ca5f648e3501502f173aa6fb96292e8ff9e |
| hovercard-subject-tag | pull_request:554150061 |
| 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/42316/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4b091f81f0d637e34f62f1fd43681800312dfcf1cacbf1b831fee34cba422a0b/microsoft/TypeScript/pull/42316 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b091f81f0d637e34f62f1fd43681800312dfcf1cacbf1b831fee34cba422a0b/microsoft/TypeScript/pull/42316 |
| og:image:alt | A different attempt at #39258 which persists readonly through isArray found during some investigations for #42231 without the complications of breaking generics etc. |
| 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 | 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/42316#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F42316 |
| 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%2F42316 |
| 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/42316 |
| Reload | https://github.com/microsoft/TypeScript/pull/42316 |
| Reload | https://github.com/microsoft/TypeScript/pull/42316 |
| 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 |
| Orta Therox (orta) | https://github.com/orta |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| orta:readonly_arr_2 | https://github.com/orta/TypeScript/tree/readonly_arr_2 |
| Conversation | https://github.com/microsoft/TypeScript/pull/42316 |
| Commits1 (1) | https://github.com/microsoft/TypeScript/pull/42316/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/42316/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/42316/files |
| A second attempt at readonly array support persisting through isArray | https://github.com/microsoft/TypeScript/pull/42316#top |
| Orta Therox (orta) | https://github.com/orta |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| orta:readonly_arr_2 | https://github.com/orta/TypeScript/tree/readonly_arr_2 |
|
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| Jan 13, 2021 | https://github.com/microsoft/TypeScript/pull/42316#issue-785062273 |
| #39258 | https://github.com/microsoft/TypeScript/pull/39258 |
| #42231 | https://github.com/microsoft/TypeScript/pull/42231 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| Jan 13, 2021 | https://github.com/microsoft/TypeScript/pull/42316#event-4200967250 |
| 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 |
| Jan 13, 2021 | https://github.com/microsoft/TypeScript/pull/42316#event-4200967632 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| Jan 13, 2021 | https://github.com/microsoft/TypeScript/pull/42316#issuecomment-759416690 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jan 13, 2021 | https://github.com/microsoft/TypeScript/pull/42316#issuecomment-759416732 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| Orta Therox (@orta) | https://github.com/orta |
| 289b0c8 | https://github.com/microsoft/TypeScript/commit/289b0c8533f63f480b905ae40f9a9d23753c2bab |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=93329 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| force-pushed | https://github.com/microsoft/TypeScript/compare/74341a01d72a10024eaa62f9343d9abc36dcb1aa..f6b438bc4a8c143c1a70287df4727351ae9d257c |
| 74341a0 | https://github.com/microsoft/TypeScript/commit/74341a01d72a10024eaa62f9343d9abc36dcb1aa |
| f6b438b | https://github.com/microsoft/TypeScript/commit/f6b438bc4a8c143c1a70287df4727351ae9d257c |
|
Compare
| https://github.com/microsoft/TypeScript/compare/74341a01d72a10024eaa62f9343d9abc36dcb1aa..f6b438bc4a8c143c1a70287df4727351ae9d257c |
| January 13, 2021 13:03 | https://github.com/microsoft/TypeScript/pull/42316#event-4201111272 |
|
| https://github.com/orta |
| A second attempt at readonly array support persisting through isArray | https://github.com/microsoft/TypeScript/pull/42316/commits/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
| 6cd8141 | https://github.com/microsoft/TypeScript/pull/42316/commits/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| force-pushed | https://github.com/microsoft/TypeScript/compare/f6b438bc4a8c143c1a70287df4727351ae9d257c..6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
| f6b438b | https://github.com/microsoft/TypeScript/commit/f6b438bc4a8c143c1a70287df4727351ae9d257c |
| 6cd8141 | https://github.com/microsoft/TypeScript/commit/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
|
Compare
| https://github.com/microsoft/TypeScript/compare/f6b438bc4a8c143c1a70287df4727351ae9d257c..6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
| January 13, 2021 13:14 | https://github.com/microsoft/TypeScript/pull/42316#event-4201155868 |
| https://github.com/ajafff |
| Klaus Meinhardt (ajafff) | https://github.com/ajafff |
|
Jan 13, 2021
| https://github.com/microsoft/TypeScript/pull/42316#pullrequestreview-567519646 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
| tests/baselines/reference/typeGuardsWithInstanceOf.errors.txt | https://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f#diff-7e8fbb770e85ac40397f2061789b8d56a639511552c2dffe5264ff061adefe81 |
| Klaus Meinhardt (ajafff) | https://github.com/ajafff |
| Jan 13, 2021 | https://github.com/microsoft/TypeScript/pull/42316#discussion_r556751322 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| https://github.com/wangweixuan |
| Wang Weixuan (wangweixuan) | https://github.com/wangweixuan |
|
Oct 1, 2021
| https://github.com/microsoft/TypeScript/pull/42316#ref-issue-806772473 |
|
isArray type guards still causing issues in latest nightly build
#42768
| https://github.com/microsoft/TypeScript/issues/42768 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Orta Therox (orta) | https://github.com/orta |
| Feb 24, 2022 | https://github.com/microsoft/TypeScript/pull/42316#event-6135396747 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| February 24, 2022 22:10 | https://github.com/microsoft/TypeScript/pull/42316#event-6135397009 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
|
Mar 8, 2022
| https://github.com/microsoft/TypeScript/pull/42316#pullrequestreview-903451388 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
| lib/lib.es5.d.ts | https://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f#diff-4543c62dcf560451d352906704dcf2c1d53af354414ade9d50b92f25f74e637e |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Mar 8, 2022 | https://github.com/microsoft/TypeScript/pull/42316#discussion_r821975675 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| Jack Bates (jablko) | https://github.com/jablko |
| Mar 9, 2022 | https://github.com/microsoft/TypeScript/pull/42316#discussion_r823172096 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Nathan Shively-Sanders (@sandersn) | https://github.com/sandersn |
| Workbench repro | https://www.typescriptlang.org/dev/bug-workbench/#code/CYUwxgNghgTiAEYD2A7AzgF3gWwK4agCMIQAueTGASxQHMBtAXQG4AoUSWBZdLK7PAWJl4cKMFQQAnhQzU6TNqwD0y+AFl8REvFgwoUtKJDYoNCkngB3KhgAWulMGu27SfCrV2MGAA5pSVVpXXEIAOmRsZWwqMBgkNCQAMwxlABUpXxAAZTiqX1TfXAgIZQAWACYAZgBGADZWKiT4AAoAQRh9KTCqNA6ulsFtEABKEfgAb1Z4RFRMCjdi4HJKGgZGeABeHC1hZnhVeEAUckB4P-g2naEdPQMF9whnOFNzRNYAX1ZPeDS7Xt00NBUWgobAgFBYNCLB7wECdJAweCEfDwCQgNAoADkGAANPAUEgsDZ7O4MF9vH4AkEQuFItFYvFEil0pkcnkCsoiiVytV6o1mu1OgYen1BVIWvwhsIxpNprNeHclgA5AkrORrJhbeAS3YkfaHQAy5OcUFqBDqEDcZJD7o8TGZja83kA |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Mar 10, 2022 | https://github.com/microsoft/TypeScript/pull/42316#discussion_r823218462 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| Jack Bates (jablko) | https://github.com/jablko |
| Mar 11, 2022 | https://github.com/microsoft/TypeScript/pull/42316#discussion_r825141259 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Nathan Shively-Sanders (@sandersn) | https://github.com/sandersn |
| #48228 | https://github.com/microsoft/TypeScript/pull/48228 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Mar 8, 2022 | https://github.com/microsoft/TypeScript/pull/42316#event-6204702564 |
|
isArray() preserve mutability and element type
#48228
| https://github.com/microsoft/TypeScript/pull/48228 |
|
Array.isArray type narrows to any[] for ReadonlyArray
#17002
| https://github.com/microsoft/TypeScript/issues/17002 |
|
Array.isArray refinement loses the array's type
#33700
| https://github.com/microsoft/TypeScript/issues/33700 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
|
Aug 29, 2024
| https://github.com/microsoft/TypeScript/pull/42316#ref-issue-2494750217 |
|
Array.isArray does not recognize readonly arrays
microsoft/TypeScript-DOM-lib-generator#1793
| https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1793 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/42316#event-20417363362 |
| 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%2F42316 |
|
| https://github.com/sandersn |
|
Nathan Shively-Sanders (sandersn)
| https://github.com/sandersn |
|
| https://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
|
| https://github.com/gabritto |
|
Gabriela Araujo Britto (gabritto)
| https://github.com/gabritto |
|
| https://github.com/jablko |
|
Jack Bates (jablko)
| https://github.com/jablko |
|
| https://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
|
| https://github.com/ajafff |
|
Klaus Meinhardt (ajafff)
| https://github.com/ajafff |
|
| https://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
|
| https://github.com/gabritto |
|
Gabriela Araujo Britto (gabritto)
| https://github.com/gabritto |
|
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 |
|
PR Backlog
| https://github.com/orgs/microsoft/projects/1252 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/42316 |
|
| https://github.com/orta |
|
| https://github.com/typescript-bot |
|
| https://github.com/jablko |
|
| https://github.com/sandersn |
|
| https://github.com/ajafff |
|
| https://github.com/gabritto |
|
| 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 |