René's URL Explorer Experiment


Title: Suggestion: Extension methods · Issue #9 · microsoft/TypeScript · GitHub

Open Graph Title: Suggestion: Extension methods · Issue #9 · microsoft/TypeScript

X Title: Suggestion: Extension methods · Issue #9 · microsoft/TypeScript

Description: Allow a declarative way of adding members to an existing type's prototype Example: class Shape { // ... } /* ...elsewhere...*/ extension class Shape { // Syntax?? getArea() { return /* ... */; } } var x = new Shape(); console.log(x.getAr...

Open Graph Description: Allow a declarative way of adding members to an existing type's prototype Example: class Shape { // ... } /* ...elsewhere...*/ extension class Shape { // Syntax?? getArea() { return /* ... */; } } ...

X Description: Allow a declarative way of adding members to an existing type's prototype Example: class Shape { // ... } /* ...elsewhere...*/ extension class Shape { // Syntax?? getArea() { return /* ... */; ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: Extension methods","articleBody":"Allow a declarative way of adding members to an existing type's prototype\n\nExample:\n\n``` TypeScript\n\nclass Shape {\n // ...\n}\n\n/* ...elsewhere...*/\nextension class Shape { // Syntax??\n    getArea() { return /* ... */; }\n}\n\nvar x = new Shape();\nconsole.log(x.getArea()); // OK\n```\n","author":{"url":"https://github.com/RyanCavanaugh","@type":"Person","name":"RyanCavanaugh"},"datePublished":"2014-07-15T16:52:29Z","url":"https://github.com/microsoft/TypeScript/issues/9"}

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:8078e800-5dff-e441-0766-1383f8afc3d3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDACC:317608:52BAFF:6A5470:6B00D9AF
html-safe-noncea2c7b4708146f755a6aab5a2414620bd7245457463dd9b21ab824adbee6aede7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUNDOjMxNzYwODo1MkJBRkY6NkE1NDcwOjZCMDBEOUFGIiwidmlzaXRvcl9pZCI6Ijc2MTI0ODY3MTM5NjA2MTg0MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4adfa56498722437c7f2fb9e0ecc63819dd67b7526f6429ab74bef039dbbc505
hovercard-subject-tagissue:37903383
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/9/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2f38dd7d11ca75d6c27969433c7f758deee5fed548125e1d146366869a6d19af/microsoft/TypeScript/issues/9
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2f38dd7d11ca75d6c27969433c7f758deee5fed548125e1d146366869a6d19af/microsoft/TypeScript/issues/9
og:image:altAllow a declarative way of adding members to an existing type's prototype Example: class Shape { // ... } /* ...elsewhere...*/ extension class Shape { // Syntax?? getArea() { return /* ... */; } } ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRyanCavanaugh
hostnamegithub.com
expected-hostnamegithub.com
Nonea481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b
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
release84c8c5cc25e2fb7f2308428458538436baecc6d2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/Microsoft/TypeScript/issues/9#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMicrosoft%2FTypeScript%2Fissues%2F9
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%2F9
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/9
Reloadhttps://github.com/Microsoft/TypeScript/issues/9
Reloadhttps://github.com/Microsoft/TypeScript/issues/9
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/9
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9
Suggestion: Extension methodshttps://github.com/microsoft/TypeScript/issues/9#top
Out of ScopeThis idea sits outside of the TypeScript language design constraintshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Out%20of%20Scope%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jul 15, 2014https://github.com/microsoft/TypeScript/issues/9#issue-37903383
Nexthttps://github.com/microsoft/TypeScript/issues/9?timeline_page=1
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Suggestionhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
on Jul 15, 2014https://github.com/microsoft/TypeScript/issues/9#event-141791073
https://github.com/knazeri
Kamyar Nazeri (knazeri)https://github.com/knazeri
on Jul 29, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-50441097
https://typescript.codeplex.com/workitem/100https://typescript.codeplex.com/workitem/100
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Jul 29, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-50441542
https://github.com/mpawelski
Mariusz Pawelski (mpawelski)https://github.com/mpawelski
on Aug 13, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52062467
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Aug 14, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52143738
https://github.com/saschanaz
Kagami Sascha Rosylight (saschanaz)https://github.com/saschanaz
on Aug 14, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52161407
https://github.com/knazeri
Kamyar Nazeri (knazeri)https://github.com/knazeri
on Aug 14, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52185793
https://github.com/zlumer
Dmitry Radkovskiy (zlumer)https://github.com/zlumer
on Aug 15, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52284832
https://github.com/saschanaz
Kagami Sascha Rosylight (saschanaz)https://github.com/saschanaz
on Aug 15, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52295164
https://github.com/knazeri
Kamyar Nazeri (knazeri)https://github.com/knazeri
on Aug 15, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52296074
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Aug 15, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52297575
Kagami Sascha Rosylight (@saschanaz)https://github.com/saschanaz
https://github.com/knazeri
Kamyar Nazeri (knazeri)https://github.com/knazeri
on Aug 15, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52313365
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Aug 15, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52329918
https://github.com/knazeri
Kamyar Nazeri (knazeri)https://github.com/knazeri
on Aug 15, 2014https://github.com/microsoft/TypeScript/issues/9#issuecomment-52335290
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/mikeaustin
Mike Austin (mikeaustin)https://github.com/mikeaustin
on Apr 19, 2017https://github.com/microsoft/TypeScript/issues/9#issuecomment-295485972
Impulse-JShttps://docs.google.com/document/d/1LqEP5ERAjBa1b0iryn88pessVohDyVAPIGgZvMK8IC4/edit?usp=sharing
https://github.com/atrauzzi
Alexander Trauzzi (atrauzzi)https://github.com/atrauzzi
on May 10, 2017https://github.com/microsoft/TypeScript/issues/9#issuecomment-300348210
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on May 10, 2017https://github.com/microsoft/TypeScript/issues/9#issuecomment-300558376
microsofthttps://github.com/microsoft
on May 10, 2017https://github.com/microsoft/TypeScript/issues/9#event-1076876483
microsofthttps://github.com/microsoft
on Jun 30, 2022https://github.com/microsoft/TypeScript/issues/9#event-6913161408
Yu Watanabe (yunabe)https://github.com/yunabe
on Apr 21, 2023https://github.com/microsoft/TypeScript/issues/9#event-9071641862
Proposal class static block support (microsoft#43370)https://github.com/yunabe/TypeScriptForTslab/commit/906cbd27150d774f2b3e9b8c8cb010820bdf5c4a
microsoft#43370https://github.com/microsoft/TypeScript/pull/43370
906cbd2https://github.com/yunabe/TypeScriptForTslab/commit/906cbd27150d774f2b3e9b8c8cb010820bdf5c4a
Kristoffer K. (merceyz)https://github.com/merceyz
on Mar 17, 2024https://github.com/microsoft/TypeScript/issues/9#event-12142859536
fix: enable pnp for `typingsInstaller` and `watchGuard` (microsoft#9)https://github.com/yarnpkg/TypeScript/commit/5d8917857cf32d06824f97320c878f08a532e2d0
microsoft#9https://github.com/microsoft/TypeScript/issues/9
5d89178https://github.com/yarnpkg/TypeScript/commit/5d8917857cf32d06824f97320c878f08a532e2d0
fix: enable pnp for `typingsInstaller` and `watchGuard` (microsoft#9)https://github.com/yarnpkg/TypeScript/commit/0501224872b9ed5673ab88ee7c7cab5cb605011d
microsoft#9https://github.com/microsoft/TypeScript/issues/9
0501224https://github.com/yarnpkg/TypeScript/commit/0501224872b9ed5673ab88ee7c7cab5cb605011d
https://github.com/reddaly
Red Daly (reddaly)https://github.com/reddaly
on Jul 15, 2024https://github.com/microsoft/TypeScript/issues/9#issuecomment-2229040453
#9 (comment)https://github.com/microsoft/TypeScript/issues/9#issuecomment-74302592
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jul 15, 2024https://github.com/microsoft/TypeScript/issues/9#issuecomment-2229073339
Red Daly (@reddaly)https://github.com/reddaly
https://github.com/tc39/proposal-bind-operatorhttps://github.com/tc39/proposal-bind-operator
https://github.com/gonzojive
Red Daly (gonzojive)https://github.com/gonzojive
on Jul 26, 2024https://github.com/microsoft/TypeScript/issues/9#issuecomment-2251875624
#9 (comment)https://github.com/microsoft/TypeScript/issues/9#issuecomment-2229040453
https://github.com/tc39/proposal-bind-operatorhttps://github.com/tc39/proposal-bind-operator
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jul 26, 2024https://github.com/microsoft/TypeScript/issues/9#issuecomment-2253171023
https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals#non-goalshttps://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals#non-goals
https://github.com/gonzojive
Red Daly (gonzojive)https://github.com/gonzojive
on Jul 27, 2024https://github.com/microsoft/TypeScript/issues/9#issuecomment-2254223956
https://github.com/tc39/proposal-extensionshttps://github.com/tc39/proposal-extensions
asked herehttps://github.com/tc39/proposal-extensions/issues/15
https://github.com/Farenheith
Thiago Oliveira Santos (Farenheith)https://github.com/Farenheith
on Jan 20, 2025https://github.com/microsoft/TypeScript/issues/9#issuecomment-2601249214
codibre/extension-methods#3https://github.com/codibre/extension-methods/pull/3
Mohsen Azimi (mohsen1)https://github.com/mohsen1
on Jan 8, 2026https://github.com/microsoft/TypeScript/issues/9#event-21931150684
[wasm] checker: cover legacy null/undefinedhttps://github.com/mohsen1/TypeScript/commit/3fe6661ba5fa2d137f9511b355c933f4995a4d0c
3fe6661https://github.com/mohsen1/TypeScript/commit/3fe6661ba5fa2d137f9511b355c933f4995a4d0c
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/9
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9
Out of ScopeThis idea sits outside of the TypeScript language design constraintshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Out%20of%20Scope%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
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.