| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:602cc023-d039-f70a-5e1c-063bc35e263d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D55C:882E2:18E375A:20B92E9:6B0138F0 |
| html-safe-nonce | 7f2447e04a2c53850cade9440b627677f09124f2665d21162299916a84761a0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTVDOjg4MkUyOjE4RTM3NUE6MjBCOTJFOTo2QjAxMzhGMCIsInZpc2l0b3JfaWQiOiI0MTU1NDgzMDgwODk2ODg3MDI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d83a239b502a83db969e1e81d8ade7959d78fb866c5fb481cf583dbc14196b49 |
| hovercard-subject-tag | issue:1214703763 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/48840/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3bc7449e5cde4d89296c9bbd2d3d3b067d84627007e5b89fee0ece8a463e0f08/microsoft/TypeScript/issues/48840 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3bc7449e5cde4d89296c9bbd2d3d3b067d84627007e5b89fee0ece8a463e0f08/microsoft/TypeScript/issues/48840 |
| og:image:alt | Bug Report 🔎 Search Terms function top type callable spread never regression 🕗 Version & Regression Information This changed between versions 3.8.3 and 3.9.7 ⏯ Playground Link Playground link with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | webstrand |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| 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 | issues |
| Skip to content | https://github.com/microsoft/TypeScript/issues/48840#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F48840 |
| 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%2Fissues%2F48840 |
| 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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/issues/48840 |
| Reload | https://github.com/microsoft/TypeScript/issues/48840 |
| Reload | https://github.com/microsoft/TypeScript/issues/48840 |
| 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 requests310 (310) | 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 |
| New issue | https://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/48840 |
| New issue | https://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/48840 |
| #52387 | https://github.com/microsoft/TypeScript/pull/52387 |
| Regression causes Function top-type to be callable with no arguments | https://github.com/microsoft/TypeScript/issues/48840#top |
| #52387 | https://github.com/microsoft/TypeScript/pull/52387 |
| BugA bug in TypeScript | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22 |
| Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-repros | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Has%20Repro%22 |
| Backlog | https://github.com/microsoft/TypeScript/milestone/29 |
| https://github.com/webstrand |
| webstrand | https://github.com/webstrand |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issue-1214703763 |
| Playground link with relevant code | https://www.typescriptlang.org/play?ts=3.9.7#code/CYUwxgNghgTiAEEQBd4DMD2GBc8AUAdEbAOYDOuAdiAG4gwCU8AvAHzw0YCWwA3AFCYMLfAA9cZZDC6USTNvADeAXwFC8DXvHgB6HfErD6MDDCA |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-repros | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Has%20Repro%22 |
| BugA bug in TypeScript | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22 |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#event-6492783861 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1108986079 |
| Repro bot | https://github.com/microsoft/TypeScript-Twoslash-Repro-Action/tree/master/docs/user-facing.md |
| Issue body | https://github.com/microsoft/TypeScript/issues/48840#issue-1214703763 |
| webstrand | https://github.com/webstrand |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1108991265 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1108999897 |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Needs InvestigationThis issue needs a team member to investigate its status. | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22 |
| BugA bug in TypeScript | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22 |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#event-6493348619 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109002426 |
| 0e15b9f | https://github.com/microsoft/TypeScript/commit/0e15b9f2457b66ee9c14e42292ea5e5d9d78258e |
| https://github.com/webstrand |
| webstrand | https://github.com/webstrand |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109002502 |
| https://github.com/webstrand |
| webstrand | https://github.com/webstrand |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109004345 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109018692 |
| https://github.com/webstrand |
| webstrand | https://github.com/webstrand |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109022431 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| on Apr 25, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109033871 |
| #48840 (comment) | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109002426 |
| https://www.typescriptlang.org/play?#code/PQKhCgAIUhlBDAZgUwE6QG5oM4EsD2AdpPopAAYBiAroQMYAuBh5kA7gBa50eTYf5qAGwAmkQvgaQARskh14QochEA6KDACiWVAE9IiWo2Z8BwsbMjxseAOaF405ZAb4XXbABoZ1KQw+mgqLikjJy1nYOTnKukMg6+ob0TETq0MDgyAAeAA74qH66OXIAgoS6NMkmALyQABSqjfCottgAXOLxaADaALoAlJDVAHyY+LgiANzg4EnGRAb4+AA8ACpxWQzIhCLYVuV9w3WDAN5QkBd0RNhSiIQAjB0NjajINx2rgyNjE0P1jaoAPpfUYnAC+0wul2ut0IACYOmUKkYUsRand7pBgMA4qhUPlwGCgA | https://www.typescriptlang.org/play#code/PQKhCgAIUhlBDAZgUwE6QG5oM4EsD2AdpPopAAYBiAroQMYAuBh5kA7gBa50eTYf5qAGwAmkQvgaQARskh14QochEA6KDACiWVAE9IiWo2Z8BwsbMjxseAOaF405ZAb4XXbABoZ1KQw+mgqLikjJy1nYOTnKukMg6+ob0TETq0MDgyAAeAA74qH66OXIAgoS6NMkmALyQABSqjfCottgAXOLxaADaALoAlJDVAHyY+LgiANzg4EnGRAb4+AA8ACpxWQzIhCLYVuV9w3WDAN5QkBd0RNhSiIQAjB0NjajINx2rgyNjE0P1jaoAPpfUYnAC+0wul2ut0IACYOmUKkYUsRand7pBgMA4qhUPlwGCgA |
| https://github.com/jack-williams |
| Jack Williams (jack-williams) | https://github.com/jack-williams |
| on Apr 26, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1109510933 |
| https://github.com/jcalz |
| Joe Calzaretta (jcalz) | https://github.com/jcalz |
| on Jun 1, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1143751531 |
| #35438 | https://github.com/microsoft/TypeScript/pull/35438 |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| BugA bug in TypeScript | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22 |
| Needs InvestigationThis issue needs a team member to investigate its status. | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22 |
| on Jun 1, 2022 | https://github.com/microsoft/TypeScript/issues/48840#event-6721634055 |
| https://github.com/tjjfvi |
| T6 (tjjfvi) | https://github.com/tjjfvi |
| on Oct 6, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1270638575 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| on Oct 6, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1270671527 |
| https://github.com/tjjfvi |
| T6 (tjjfvi) | https://github.com/tjjfvi |
| on Oct 6, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1270734282 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| on Oct 7, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1272029084 |
| https://github.com/jcalz |
| Joe Calzaretta (jcalz) | https://github.com/jcalz |
| on Dec 30, 2022 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1368011351 |
| https://github.com/webstrand |
| webstrand | https://github.com/webstrand |
| on Jan 7, 2023 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1374378749 |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Backlog | https://github.com/microsoft/TypeScript/milestone/29 |
| on Mar 1, 2023 | https://github.com/microsoft/TypeScript/issues/48840#event-8634267543 |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| completed | https://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| #52387 | https://github.com/microsoft/TypeScript/pull/52387 |
| on Mar 1, 2023 | https://github.com/microsoft/TypeScript/issues/48840#event-8640862072 |
| https://github.com/jcalz |
| Joe Calzaretta (jcalz) | https://github.com/jcalz |
| on Mar 6, 2023 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-1456234035 |
| https://github.com/mkantor |
| Matt Kantor (mkantor) | https://github.com/mkantor |
| on Jul 5, 2025 | https://github.com/microsoft/TypeScript/issues/48840#issuecomment-3038836610 |
| Joe Calzaretta (@jcalz) | https://github.com/jcalz |
| this | https://www.typescriptlang.org/play/#code/MYewdgzgLgBAZgLhgCgHToIYCcDmEnRYCWYOA2gLoCUMAvAHwyEk50wZ2MapQgCqABwEBTLAGEMEYcioBYAFBwZMAPQqYAIxAgAtkA |
| #9352 | https://github.com/microsoft/TypeScript/issues/9352 |
| #58552 | https://github.com/microsoft/TypeScript/issues/58552 |
| String#replace | https://github.com/microsoft/TypeScript/blob/833a8d492c728d606454865e8c0fee84842f9f10/src/lib/es5.d.ts#L452 |
| microsoft | https://github.com/microsoft |
| on Jan 7, 2026 | https://github.com/microsoft/TypeScript/issues/48840#event-21905515737 |
| Sign up for free | https://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/48840 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/48840 |
| BugA bug in TypeScript | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22 |
| Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-repros | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Has%20Repro%22 |
| BacklogNo due date | https://github.com/microsoft/TypeScript/milestone/29 |
|
| 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 |