René's URL Explorer Experiment


Title: A second attempt at readonly array support persisting through isArray by orta · Pull Request #42316 · microsoft/TypeScript · GitHub

Open Graph Title: A second attempt at readonly array support persisting through isArray by orta · Pull Request #42316 · microsoft/TypeScript

X Title: A second attempt at readonly array support persisting through isArray by orta · Pull Request #42316 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - A second attempt at readonly array support persisting through isArray by orta · Pull Request #42316 · microsoft/TypeScript

Open Graph Description: A different attempt at #39258 which persists readonly through isArray found during some investigations for #42231 without the complications of breaking generics etc.

X Description: A different attempt at #39258 which persists readonly through isArray found during some investigations for #42231 without the complications of breaking generics etc.

Opengraph URL: https://github.com/microsoft/TypeScript/pull/42316

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a6e50e9e-17ce-fe4c-79f7-1be46adbb6d0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF54:3C21B:2F21ECD:3C3FE3C:6B01B5EC
html-safe-nonce3b480362917f0c7348c5d9f885b3571e215b49b1bc9eafd172a0564e18367a6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjU0OjNDMjFCOjJGMjFFQ0Q6M0MzRkUzQzo2QjAxQjVFQyIsInZpc2l0b3JfaWQiOiI0NTI4OTEwODQ2Mzk4Njc0NDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacec58f2465edd5dd4ca4ef4e0a1504ca5f648e3501502f173aa6fb96292e8ff9e
hovercard-subject-tagpull_request:554150061
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/42316/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4b091f81f0d637e34f62f1fd43681800312dfcf1cacbf1b831fee34cba422a0b/microsoft/TypeScript/pull/42316
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b091f81f0d637e34f62f1fd43681800312dfcf1cacbf1b831fee34cba422a0b/microsoft/TypeScript/pull/42316
og:image:altA different attempt at #39258 which persists readonly through isArray found during some investigations for #42231 without the complications of breaking generics etc.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameorta
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/42316#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F42316
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F42316
Sign uphttps://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
Reloadhttps://github.com/microsoft/TypeScript/pull/42316
Reloadhttps://github.com/microsoft/TypeScript/pull/42316
Reloadhttps://github.com/microsoft/TypeScript/pull/42316
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Orta Therox (orta)https://github.com/orta
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
orta:readonly_arr_2https://github.com/orta/TypeScript/tree/readonly_arr_2
Conversationhttps://github.com/microsoft/TypeScript/pull/42316
Commits1 (1)https://github.com/microsoft/TypeScript/pull/42316/commits
Checkshttps://github.com/microsoft/TypeScript/pull/42316/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/42316/files
A second attempt at readonly array support persisting through isArrayhttps://github.com/microsoft/TypeScript/pull/42316#top
Orta Therox (orta)https://github.com/orta
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
orta:readonly_arr_2https://github.com/orta/TypeScript/tree/readonly_arr_2
https://github.com/orta
Orta Therox (orta)https://github.com/orta
Jan 13, 2021https://github.com/microsoft/TypeScript/pull/42316#issue-785062273
#39258https://github.com/microsoft/TypeScript/pull/39258
#42231https://github.com/microsoft/TypeScript/pull/42231
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42316
https://github.com/orta
Orta Therox (orta)https://github.com/orta
Jan 13, 2021https://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, 2021https://github.com/microsoft/TypeScript/pull/42316#event-4200967632
https://github.com/orta
Orta Therox (orta)https://github.com/orta
Jan 13, 2021https://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 pagehttps://github.com/microsoft/TypeScript/pull/42316
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 13, 2021https://github.com/microsoft/TypeScript/pull/42316#issuecomment-759416732
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42316
Orta Therox (@orta)https://github.com/orta
289b0c8https://github.com/microsoft/TypeScript/commit/289b0c8533f63f480b905ae40f9a9d23753c2bab
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=93329
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42316
https://github.com/orta
Orta Therox (orta)https://github.com/orta
force-pushedhttps://github.com/microsoft/TypeScript/compare/74341a01d72a10024eaa62f9343d9abc36dcb1aa..f6b438bc4a8c143c1a70287df4727351ae9d257c
74341a0https://github.com/microsoft/TypeScript/commit/74341a01d72a10024eaa62f9343d9abc36dcb1aa
f6b438bhttps://github.com/microsoft/TypeScript/commit/f6b438bc4a8c143c1a70287df4727351ae9d257c
Compare https://github.com/microsoft/TypeScript/compare/74341a01d72a10024eaa62f9343d9abc36dcb1aa..f6b438bc4a8c143c1a70287df4727351ae9d257c
January 13, 2021 13:03https://github.com/microsoft/TypeScript/pull/42316#event-4201111272
https://github.com/orta
A second attempt at readonly array support persisting through isArrayhttps://github.com/microsoft/TypeScript/pull/42316/commits/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f
6cd8141https://github.com/microsoft/TypeScript/pull/42316/commits/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f
https://github.com/orta
Orta Therox (orta)https://github.com/orta
force-pushedhttps://github.com/microsoft/TypeScript/compare/f6b438bc4a8c143c1a70287df4727351ae9d257c..6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f
f6b438bhttps://github.com/microsoft/TypeScript/commit/f6b438bc4a8c143c1a70287df4727351ae9d257c
6cd8141https://github.com/microsoft/TypeScript/commit/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f
Compare https://github.com/microsoft/TypeScript/compare/f6b438bc4a8c143c1a70287df4727351ae9d257c..6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f
January 13, 2021 13:14https://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.txthttps://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f#diff-7e8fbb770e85ac40397f2061789b8d56a639511552c2dffe5264ff061adefe81
Klaus Meinhardt (ajafff)https://github.com/ajafff
Jan 13, 2021https://github.com/microsoft/TypeScript/pull/42316#discussion_r556751322
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://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, 2022https://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:10https://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.tshttps://github.com/microsoft/TypeScript/pull/42316/files/6cd8141be647fc4ebbb00740b0f06aef7e8cdc2f#diff-4543c62dcf560451d352906704dcf2c1d53af354414ade9d50b92f25f74e637e
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 8, 2022https://github.com/microsoft/TypeScript/pull/42316#discussion_r821975675
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42316
Jack Bates (jablko)https://github.com/jablko
Mar 9, 2022https://github.com/microsoft/TypeScript/pull/42316#discussion_r823172096
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Workbench reprohttps://www.typescriptlang.org/dev/bug-workbench/#code/CYUwxgNghgTiAEYD2A7AzgF3gWwK4agCMIQAueTGASxQHMBtAXQG4AoUSWBZdLK7PAWJl4cKMFQQAnhQzU6TNqwD0y+AFl8REvFgwoUtKJDYoNCkngB3KhgAWulMGu27SfCrV2MGAA5pSVVpXXEIAOmRsZWwqMBgkNCQAMwxlABUpXxAAZTiqX1TfXAgIZQAWACYAZgBGADZWKiT4AAoAQRh9KTCqNA6ulsFtEABKEfgAb1Z4RFRMCjdi4HJKGgZGeABeHC1hZnhVeEAUckB4P-g2naEdPQMF9whnOFNzRNYAX1ZPeDS7Xt00NBUWgobAgFBYNCLB7wECdJAweCEfDwCQgNAoADkGAANPAUEgsDZ7O4MF9vH4AkEQuFItFYvFEil0pkcnkCsoiiVytV6o1mu1OgYen1BVIWvwhsIxpNprNeHclgA5AkrORrJhbeAS3YkfaHQAy5OcUFqBDqEDcZJD7o8TGZja83kA
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42316
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 10, 2022https://github.com/microsoft/TypeScript/pull/42316#discussion_r823218462
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42316
Jack Bates (jablko)https://github.com/jablko
Mar 11, 2022https://github.com/microsoft/TypeScript/pull/42316#discussion_r825141259
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
#48228https://github.com/microsoft/TypeScript/pull/48228
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42316
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 8, 2022https://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, 2025https://github.com/microsoft/TypeScript/pull/42316#event-20417363362
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://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 pagehttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.