| 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:2906f4a6-3c45-1714-271e-d712e48be605 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8BC4:50BE3:3BD9D70:4F79F52:6B03EFAF |
| html-safe-nonce | 7a5f09454456c0190f9b04baf655c26f631f1927c9e58963c11f75a41857605e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkM0OjUwQkUzOjNCRDlENzA6NEY3OUY1Mjo2QjAzRUZBRiIsInZpc2l0b3JfaWQiOiI4NTA1MzM5OTE3MjA2MDI0MTExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 16268ad7260e432c3e6a79850e2a2d21df1ddd77eb166bb7de065b02649d4bd8 |
| hovercard-subject-tag | pull_request:156511169 |
| 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/20471/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6e37d21605a10f14d6464e9b5dea907aed5c1e2e5dc93dd1cb49fe998307c741/microsoft/TypeScript/pull/20471 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e37d21605a10f14d6464e9b5dea907aed5c1e2e5dc93dd1cb49fe998307c741/microsoft/TypeScript/pull/20471 |
| og:image:alt | Fixes #20429 (comment)
The input to createNodeArray should not be a ReadonlyArray since it's about to be cast to NodeArray and then mutated. Combined with emptyArray this was mutating global st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/20471#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F20471 |
| 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%2F20471 |
| 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/20471 |
| Reload | https://github.com/microsoft/TypeScript/pull/20471 |
| Reload | https://github.com/microsoft/TypeScript/pull/20471 |
| 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 requests320 (320) | 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 |
| Deleted user (ghost) | https://github.com/ghost |
| master | https://github.com/microsoft/TypeScript/tree/master |
| createNodeArray | https://github.com/microsoft/TypeScript/tree/createNodeArray |
| Conversation | https://github.com/microsoft/TypeScript/pull/20471 |
| Commits1 (1) | https://github.com/microsoft/TypeScript/pull/20471/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/20471/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/20471/files |
| createNodeArray mutates its input if not already a NodeArray | https://github.com/microsoft/TypeScript/pull/20471#top |
| Deleted user (ghost) | https://github.com/ghost |
| master | https://github.com/microsoft/TypeScript/tree/master |
| createNodeArray | https://github.com/microsoft/TypeScript/tree/createNodeArray |
|
| https://github.com/ghost |
| Deleted user (ghost) | https://github.com/ghost |
| Dec 5, 2017 | https://github.com/microsoft/TypeScript/pull/20471#issue-279441694 |
| #20429 (comment) | https://github.com/microsoft/TypeScript/pull/20429#issuecomment-349065314 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/20471 |
| Ron Buckton (rbuckton) | https://github.com/rbuckton |
| December 5, 2017 16:31 | https://github.com/microsoft/TypeScript/pull/20471#event-1373016706 |
|
Dec 5, 2017
| https://github.com/microsoft/TypeScript/pull/20471#ref-pullrequest-278835111 |
|
Remove dependency on chai
#20429
| https://github.com/microsoft/TypeScript/pull/20429 |
| force-pushed | https://github.com/microsoft/TypeScript/compare/20f1b2c3a3da1cbc4bb2af7a956735197cf2a83f..d9d9c7f53eb6ff028280800a599f50a76a3ae6f5 |
| 20f1b2c | https://github.com/microsoft/TypeScript/commit/20f1b2c3a3da1cbc4bb2af7a956735197cf2a83f |
| d9d9c7f | https://github.com/microsoft/TypeScript/commit/d9d9c7f53eb6ff028280800a599f50a76a3ae6f5 |
|
Compare
| https://github.com/microsoft/TypeScript/compare/20f1b2c3a3da1cbc4bb2af7a956735197cf2a83f..d9d9c7f53eb6ff028280800a599f50a76a3ae6f5 |
| December 5, 2017 16:37 | https://github.com/microsoft/TypeScript/pull/20471#event-1373029947 |
| createNodeArray mutates its input if not already a NodeArray | https://github.com/microsoft/TypeScript/pull/20471/commits/dff9578ca7f09d9c6de7cae6be33c03571ccd480 |
| dff9578 | https://github.com/microsoft/TypeScript/pull/20471/commits/dff9578ca7f09d9c6de7cae6be33c03571ccd480 |
| force-pushed | https://github.com/microsoft/TypeScript/compare/d9d9c7f53eb6ff028280800a599f50a76a3ae6f5..dff9578ca7f09d9c6de7cae6be33c03571ccd480 |
| d9d9c7f | https://github.com/microsoft/TypeScript/commit/d9d9c7f53eb6ff028280800a599f50a76a3ae6f5 |
| dff9578 | https://github.com/microsoft/TypeScript/commit/dff9578ca7f09d9c6de7cae6be33c03571ccd480 |
|
Compare
| https://github.com/microsoft/TypeScript/compare/d9d9c7f53eb6ff028280800a599f50a76a3ae6f5..dff9578ca7f09d9c6de7cae6be33c03571ccd480 |
| December 5, 2017 17:16 | https://github.com/microsoft/TypeScript/pull/20471#event-1373114364 |
| https://github.com/rbuckton |
| Ron Buckton (rbuckton) | https://github.com/rbuckton |
|
Dec 6, 2017
| https://github.com/microsoft/TypeScript/pull/20471#pullrequestreview-81381537 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/20471/files/dff9578ca7f09d9c6de7cae6be33c03571ccd480 |
| src/compiler/factory.ts | https://github.com/microsoft/TypeScript/pull/20471/files/dff9578ca7f09d9c6de7cae6be33c03571ccd480#diff-aa7be70e4da2f4c99dd3bdfeda6e99ea1e8270cf51643ab462aa8a640d8c5c3a |
| Ron Buckton (rbuckton) | https://github.com/rbuckton |
| Dec 6, 2017 | https://github.com/microsoft/TypeScript/pull/20471#discussion_r155115440 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/20471 |
| Deleted user (ghost) | https://github.com/ghost |
| Dec 6, 2017 | https://github.com/microsoft/TypeScript/pull/20471#discussion_r155269866 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/20471 |
|
Dec 6, 2017
| https://github.com/microsoft/TypeScript/pull/20471#ref-pullrequest-279925576 |
|
In createNodeArray, create a fresh array
#20518
| https://github.com/microsoft/TypeScript/pull/20518 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jun 12, 2018 | https://github.com/microsoft/TypeScript/pull/20471#issuecomment-396671824 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/20471 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/20471 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jun 12, 2018 | https://github.com/microsoft/TypeScript/pull/20471#event-1676894577 |
| November 9, 2018 18:30 | https://github.com/microsoft/TypeScript/pull/20471#event-1957540778 |
| November 9, 2018 19:50 | https://github.com/microsoft/TypeScript/pull/20471#event-1957711308 |
| November 9, 2018 19:50 | https://github.com/microsoft/TypeScript/pull/20471#event-1957711676 |
| November 9, 2018 19:51 | https://github.com/microsoft/TypeScript/pull/20471#event-1957714279 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/20471#event-20415557951 |
| 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%2F20471 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/20471 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/20471 |
|
| https://github.com/typescript-bot |
|
| 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 |