René's URL Explorer Experiment


Title: Allow class to extend from a generic type parameter · Issue #4890 · microsoft/TypeScript · GitHub

Open Graph Title: Allow class to extend from a generic type parameter · Issue #4890 · microsoft/TypeScript

X Title: Allow class to extend from a generic type parameter · Issue #4890 · microsoft/TypeScript

Description: There appears to be some kind of internal "class" type that is impossible to represent generically: You can see a live version here: http://goo.gl/exBzY6 function IdentifiableSubclass(SuperClass: T) { return class extend...

Open Graph Description: There appears to be some kind of internal "class" type that is impossible to represent generically: You can see a live version here: http://goo.gl/exBzY6 function IdentifiableSubclass

X Description: There appears to be some kind of internal "class" type that is impossible to represent generically: You can see a live version here: http://goo.gl/exBzY6 function IdentifiableSubclass<...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/4890

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow class to extend from a generic type parameter","articleBody":"There appears to be some kind of internal \"class\" type that is impossible to represent generically:\n\nYou can see a live version here: http://goo.gl/exBzY6\n\n``` ts\nfunction IdentifiableSubclass\u003cT extends What?>(SuperClass: T) {\n  return class extends T {\n    public _id = null;\n  }\n} \n\nclass Thing {\n  public hello = null;\n  /* impl */\n}\n\nconst IdentifiableThing = IdentifiableSubclass(Thing);\n\nclass ChildThing extends IdentifiableThing {\n\n}\n\nlet child = new ChildThing();\nchild.hello; // TS does not understand that this exists\nchild._id;   // TS understands that this exists\n```\n","author":{"url":"https://github.com/wycats","@type":"Person","name":"wycats"},"datePublished":"2015-09-20T21:07:05Z","url":"https://github.com/microsoft/TypeScript/issues/4890"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:354b21ae-82e5-1170-1e3e-3fdc7d1544fc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE684:11486D:5C5052:79B7F9:6B00CFBD
html-safe-nonce0d0cf1c08c6a57c1c0d0505d4c4b75e1018fe71e5d08137a96c5bc966c2565ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjg0OjExNDg2RDo1QzUwNTI6NzlCN0Y5OjZCMDBDRkJEIiwidmlzaXRvcl9pZCI6Ijc4Mjk3MzkxNjQ5NTMyNjgxNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5940498ca872b1e3f4d4dff30746724441f4afdc9e429de33a1c0fe4cc647a6d
hovercard-subject-tagissue:107417798
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/4890/issue_layout
twitter:imagehttps://opengraph.githubassets.com/50e2c4944b2b53a473b707e8980c217d492639dea9ace776a55b53466bf83111/microsoft/TypeScript/issues/4890
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50e2c4944b2b53a473b707e8980c217d492639dea9ace776a55b53466bf83111/microsoft/TypeScript/issues/4890
og:image:altThere appears to be some kind of internal "class" type that is impossible to represent generically: You can see a live version here: http://goo.gl/exBzY6 function IdentifiableSubclass
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewycats
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-preview
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
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/4890#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F4890
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%2Fissues%2F4890
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/4890
Reloadhttps://github.com/microsoft/TypeScript/issues/4890
Reloadhttps://github.com/microsoft/TypeScript/issues/4890
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests307 (307)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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/4890
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/4890
#13743https://github.com/microsoft/TypeScript/pull/13743
Allow class to extend from a generic type parameterhttps://github.com/microsoft/TypeScript/issues/4890#top
#13743https://github.com/microsoft/TypeScript/pull/13743
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.2https://github.com/microsoft/TypeScript/milestone/34
https://github.com/wycats
Yehuda Katz (wycats)https://github.com/wycats
on Sep 20, 2015https://github.com/microsoft/TypeScript/issues/4890#issue-107417798
http://goo.gl/exBzY6http://goo.gl/exBzY6
Nexthttps://github.com/microsoft/TypeScript/issues/4890?timeline_page=1
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Sep 21, 2015https://github.com/microsoft/TypeScript/issues/4890#issuecomment-141850978
Yehuda Katz (@wycats)https://github.com/wycats
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Sep 21, 2015https://github.com/microsoft/TypeScript/issues/4890#event-414318526
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Sep 21, 2015https://github.com/microsoft/TypeScript/issues/4890#issuecomment-141851284
#1809https://github.com/microsoft/TypeScript/issues/1809
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Sep 21, 2015https://github.com/microsoft/TypeScript/issues/4890#issuecomment-141879451
Yehuda Katz (@wycats)https://github.com/wycats
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Proposal%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Sep 21, 2015https://github.com/microsoft/TypeScript/issues/4890#event-414490968
https://github.com/tejacques
Tom Jacques (tejacques)https://github.com/tejacques
on Dec 22, 2015https://github.com/microsoft/TypeScript/issues/4890#issuecomment-166763162
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Proposal%22
on Jan 14, 2016https://github.com/microsoft/TypeScript/issues/4890#event-515413035
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 14, 2016https://github.com/microsoft/TypeScript/issues/4890#issuecomment-171763495
https://github.com/tejacques
Tom Jacques (tejacques)https://github.com/tejacques
on Jan 14, 2016https://github.com/microsoft/TypeScript/issues/4890#issuecomment-171785722
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 14, 2016https://github.com/microsoft/TypeScript/issues/4890#issuecomment-171814874
https://github.com/tejacques
Tom Jacques (tejacques)https://github.com/tejacques
on Jan 15, 2016https://github.com/microsoft/TypeScript/issues/4890#issuecomment-172001693
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 15, 2016https://github.com/microsoft/TypeScript/issues/4890#issuecomment-172026614
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Nov 18, 2016https://github.com/microsoft/TypeScript/issues/4890#issuecomment-261598902
https://github.com/justinfagnani
Justin Fagnani (justinfagnani)https://github.com/justinfagnani
on Jan 4, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-270487653
Anatoly Ressin (@Artazor)https://github.com/Artazor
https://github.com/shlomiassaf
Shlomi Assaf (shlomiassaf)https://github.com/shlomiassaf
on Jan 11, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-271804037
https://github.com/shlomiassaf
Shlomi Assaf (shlomiassaf)https://github.com/shlomiassaf
on Jan 11, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-271823974
Roadmaphttps://github.com/Microsoft/TypeScript/wiki/Roadmap
https://github.com/shlomiassaf
Shlomi Assaf (shlomiassaf)https://github.com/shlomiassaf
on Jan 11, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-271856702
https://github.com/zerovox
ts (zerovox)https://github.com/zerovox
on Jan 20, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-274189122
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Jan 20, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-274200072
Yehuda Katz (@wycats)https://github.com/wycats
#13604https://github.com/microsoft/TypeScript/pull/13604
https://github.com/justinfagnani
Justin Fagnani (justinfagnani)https://github.com/justinfagnani
on Jan 20, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-274200566
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
https://github.com/atrauzzi
Alexander Trauzzi (atrauzzi)https://github.com/atrauzzi
on Jan 25, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-275258412
bit of a kludgehttps://github.com/atrauzzi/anecdote-engine/blob/master/src/Drivers/AzureTables/Entity/AuthorFact.ts#L7
root ancestor typehttps://github.com/atrauzzi/anecdote-engine/blob/master/src/Drivers/AzureTables/Entity/Base.ts#L16
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#13743https://github.com/microsoft/TypeScript/pull/13743
on Jan 30, 2017https://github.com/microsoft/TypeScript/issues/4890#event-942212757
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
on Jan 30, 2017https://github.com/microsoft/TypeScript/issues/4890#event-942214972
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Jan 30, 2017https://github.com/microsoft/TypeScript/issues/4890#issuecomment-276217544
#13743https://github.com/microsoft/TypeScript/pull/13743
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.2https://github.com/microsoft/TypeScript/milestone/34
on Jan 30, 2017https://github.com/microsoft/TypeScript/issues/4890#event-942248468
https://github.com/renatoaraujoc
Renato Araujo Carneiro (renatoaraujoc)https://github.com/renatoaraujoc
on Feb 13, 2024https://github.com/microsoft/TypeScript/issues/4890#issuecomment-1942867973
Yehuda Katz (@wycats)https://github.com/wycats
https://private-user-images.githubusercontent.com/358128/304581989-8d3b2d72-7aca-4d2b-90f6-067b92c653db.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyMTU1OTQsIm5iZiI6MTc5NTIxNTI5NCwicGF0aCI6Ii8zNTgxMjgvMzA0NTgxOTg5LThkM2IyZDcyLTdhY2EtNGQyYi05MGY2LTA2N2I5MmM2NTNkYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyMFQyMjU0NTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NzI4M2MxYTU0YjFmNmM3ZjU3NGEzNGQxNjQ1Y2FhMjkzYjRiZmU0YWY4ODNjY2Q5MzQ5OWMwODMzZjY5ZTIxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.K0EIjeb8QUG8NHIHoU_zhAW0tg1pbpUAKfwSccpYbZM
https://github.com/the-homeless-god
Marat Zimnurov (the-homeless-god)https://github.com/the-homeless-god
on Jul 2, 2024https://github.com/microsoft/TypeScript/issues/4890#issuecomment-2204492363
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/4890
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/4890
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.2https://github.com/microsoft/TypeScript/milestone/34
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.