René's URL Explorer Experiment


Title: Make never rest type top-like by jack-williams · Pull Request #35438 · microsoft/TypeScript · GitHub

Open Graph Title: Make never rest type top-like by jack-williams · Pull Request #35438 · microsoft/TypeScript

X Title: Make never rest type top-like by jack-williams · Pull Request #35438 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Make never rest type top-like by jack-williams · Pull Request #35438 · microsoft/TypeScript

Open Graph Description: Not an actual fix as the issue is still under discussion. Figured I’d put up and implementation though. Fixes #33495

X Description: Not an actual fix as the issue is still under discussion. Figured I’d put up and implementation though. Fixes #33495

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

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:0b1be7b9-179b-4580-1a3b-15a2b1fb5997
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8882:3F8AB1:1CD89DD:24ABBD3:6B014322
html-safe-nonce1f3303c93eb9bebf344be370099ee22e66168f1fb087c0405b5affda2a79ff07
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODgyOjNGOEFCMToxQ0Q4OUREOjI0QUJCRDM6NkIwMTQzMjIiLCJ2aXNpdG9yX2lkIjoiNDM5MDE2NzQxMTU1MTkzNjM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb20ed6875dd0d0435ffb41449c59c883258299cf8ab8ecd03faa8588432e2b0c
hovercard-subject-tagpull_request:347482072
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/35438/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0cdf7db7448c6e4d997dff062a9a01745d5cdfb11524d1a55cd193549334bd86/microsoft/TypeScript/pull/35438
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0cdf7db7448c6e4d997dff062a9a01745d5cdfb11524d1a55cd193549334bd86/microsoft/TypeScript/pull/35438
og:image:altNot an actual fix as the issue is still under discussion. Figured I’d put up and implementation though. Fixes #33495
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejack-williams
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/35438#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F35438
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%2F35438
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/35438
Reloadhttps://github.com/microsoft/TypeScript/pull/35438
Reloadhttps://github.com/microsoft/TypeScript/pull/35438
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests311 (311)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
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
jack-williams:ground-function-typehttps://github.com/jack-williams/TypeScript/tree/ground-function-type
Conversationhttps://github.com/microsoft/TypeScript/pull/35438
Commits4 (4)https://github.com/microsoft/TypeScript/pull/35438/commits
Checkshttps://github.com/microsoft/TypeScript/pull/35438/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/35438/files
Make never rest type top-likehttps://github.com/microsoft/TypeScript/pull/35438#top
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
jack-williams:ground-function-typehttps://github.com/jack-williams/TypeScript/tree/ground-function-type
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#issue-530948236
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
#33495https://github.com/microsoft/TypeScript/issues/33495
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
force-pushedhttps://github.com/microsoft/TypeScript/compare/28c1b3aa560cf8997572a734292dc1958a9c9da5..73077cc97129f359edc1fd457ca69b8d815bd118
28c1b3ahttps://github.com/microsoft/TypeScript/commit/28c1b3aa560cf8997572a734292dc1958a9c9da5
73077cchttps://github.com/microsoft/TypeScript/commit/73077cc97129f359edc1fd457ca69b8d815bd118
Compare https://github.com/microsoft/TypeScript/compare/28c1b3aa560cf8997572a734292dc1958a9c9da5..73077cc97129f359edc1fd457ca69b8d815bd118
December 2, 2019 07:40https://github.com/microsoft/TypeScript/pull/35438#event-2844583871
https://github.com/jack-williams
Make never rest type top-likehttps://github.com/microsoft/TypeScript/pull/35438/commits/76bc82bf53194bb36c8da55845ec0d660bdc792a
76bc82bhttps://github.com/microsoft/TypeScript/pull/35438/commits/76bc82bf53194bb36c8da55845ec0d660bdc792a
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
force-pushedhttps://github.com/microsoft/TypeScript/compare/73077cc97129f359edc1fd457ca69b8d815bd118..76bc82bf53194bb36c8da55845ec0d660bdc792a
73077cchttps://github.com/microsoft/TypeScript/commit/73077cc97129f359edc1fd457ca69b8d815bd118
76bc82bhttps://github.com/microsoft/TypeScript/commit/76bc82bf53194bb36c8da55845ec0d660bdc792a
Compare https://github.com/microsoft/TypeScript/compare/73077cc97129f359edc1fd457ca69b8d815bd118..76bc82bf53194bb36c8da55845ec0d660bdc792a
December 2, 2019 07:58https://github.com/microsoft/TypeScript/pull/35438#event-2844628608
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#issuecomment-560282478
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/35438
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#issuecomment-560282581
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
Jack Williams (@jack-williams)https://github.com/jack-williams
76bc82bhttps://github.com/microsoft/TypeScript/commit/76bc82bf53194bb36c8da55845ec0d660bdc792a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=56489
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#issuecomment-560282582
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
Jack Williams (@jack-williams)https://github.com/jack-williams
76bc82bhttps://github.com/microsoft/TypeScript/commit/76bc82bf53194bb36c8da55845ec0d660bdc792a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=56490
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Dec 2, 2019 https://github.com/microsoft/TypeScript/pull/35438#ref-pullrequest-530976433
🤖 User test baselines have changed for ground-function-type jack-williams/TypeScript#11 https://github.com/jack-williams/TypeScript/pull/11
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#issuecomment-560293286
PR with the baseline diff from masterhttps://github.com/jack-williams/TypeScript/pull/11
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#event-2847026530
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#event-2847035188
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Dec 2, 2019 https://github.com/microsoft/TypeScript/pull/35438#pullrequestreview-325581889
View reviewed changes https://github.com/microsoft/TypeScript/pull/35438/files/76bc82bf53194bb36c8da55845ec0d660bdc792a
Wesley Wigham (weswigham)https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/35438#pullrequestreview-325581889
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/jack-williams
Add higher-order testhttps://github.com/microsoft/TypeScript/pull/35438/commits/a02b63dbc2bb7b09e3dce7b243e8dfadb7e75b6a
a02b63dhttps://github.com/microsoft/TypeScript/pull/35438/commits/a02b63dbc2bb7b09e3dce7b243e8dfadb7e75b6a
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Dec 2, 2019https://github.com/microsoft/TypeScript/pull/35438#issuecomment-560572968
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
December 2, 2019 21:46https://github.com/microsoft/TypeScript/pull/35438#event-2847386937
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Feb 3, 2020https://github.com/microsoft/TypeScript/pull/35438#event-3003055217
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Experiment https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3AExperiment
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Experiment https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3AExperiment
Mar 9, 2020https://github.com/microsoft/TypeScript/pull/35438#event-3112582952
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 10, 2020https://github.com/microsoft/TypeScript/pull/35438#event-3116591374
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 30, 2020 https://github.com/microsoft/TypeScript/pull/35438#pullrequestreview-384199134
View reviewed changes https://github.com/microsoft/TypeScript/pull/35438/files/a02b63dbc2bb7b09e3dce7b243e8dfadb7e75b6a
Wesley Wigham (weswigham)https://github.com/weswigham
March 30, 2020 13:27https://github.com/microsoft/TypeScript/pull/35438#commits-pushed-96829eb
https://github.com/weswigham
Merge branch 'master' into ground-function-typehttps://github.com/microsoft/TypeScript/pull/35438/commits/96829eb15ca487d624de9af88c6862b74c0763be
96829ebhttps://github.com/microsoft/TypeScript/pull/35438/commits/96829eb15ca487d624de9af88c6862b74c0763be
https://github.com/weswigham
properly support types which reduce to neverhttps://github.com/microsoft/TypeScript/pull/35438/commits/2a1f7eb926902c825ce0b53a5140a1d6ab70a24c
2a1f7ebhttps://github.com/microsoft/TypeScript/pull/35438/commits/2a1f7eb926902c825ce0b53a5140a1d6ab70a24c
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Mar 30, 2020https://github.com/microsoft/TypeScript/pull/35438#issuecomment-606253560
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Wesley Wigham (@weswigham)https://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
0e15b9fhttps://github.com/microsoft/TypeScript/commit/0e15b9f2457b66ee9c14e42292ea5e5d9d78258e
Mar 30, 2020https://github.com/microsoft/TypeScript/pull/35438#event-3180529192
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 25, 2020 https://github.com/microsoft/TypeScript/pull/35438#ref-issue-624422537
Empty tuple not inferred from rest parameters of a generic array type #38770 https://github.com/microsoft/TypeScript/issues/38770
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Apr 25, 2022https://github.com/microsoft/TypeScript/pull/35438#issuecomment-1109036020
#48840https://github.com/microsoft/TypeScript/issues/48840
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Apr 26, 2022https://github.com/microsoft/TypeScript/pull/35438#issuecomment-1109499022
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Apr 26, 2022https://github.com/microsoft/TypeScript/pull/35438#issuecomment-1110008292
Jack Williams (@jack-williams)https://github.com/jack-williams
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Jun 1, 2022 https://github.com/microsoft/TypeScript/pull/35438#ref-issue-1214703763
Regression causes Function top-type to be callable with no arguments #48840 https://github.com/microsoft/TypeScript/issues/48840
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/35438#event-20416836804
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%2F35438
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/35438/files/a02b63dbc2bb7b09e3dce7b243e8dfadb7e75b6a
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
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
never rest type not assignable to complex rest type https://github.com/microsoft/TypeScript/issues/33495
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35438
https://github.com/jack-williams
https://github.com/typescript-bot
https://github.com/andrewbranch
https://github.com/weswigham
https://github.com/sandersn
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.