René's URL Explorer Experiment


Title: Arrow function is not compatible with ordinary one · Issue #17113 · microsoft/TypeScript · GitHub

Open Graph Title: Arrow function is not compatible with ordinary one · Issue #17113 · microsoft/TypeScript

X Title: Arrow function is not compatible with ordinary one · Issue #17113 · microsoft/TypeScript

Description: TypeScript Version: 2.4.1 Code class Component { render(): boolean { return false; } } class App extends Component { render = () => false; } Expected behavior: Compiles correctly. Actual behavior: The compiler reports an error: test.ts(7...

Open Graph Description: TypeScript Version: 2.4.1 Code class Component { render(): boolean { return false; } } class App extends Component { render = () => false; } Expected behavior: Compiles correctly. Actual behavior: ...

X Description: TypeScript Version: 2.4.1 Code class Component { render(): boolean { return false; } } class App extends Component { render = () => false; } Expected behavior: Compiles correctly. Actual behavio...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Arrow function is not compatible with ordinary one","articleBody":"**TypeScript Version:**  2.4.1\r\n\r\n**Code**\r\n\r\n```ts\r\nclass Component {\r\n  render(): boolean {\r\n    return false;\r\n  }\r\n}\r\nclass App extends Component {\r\n  render = () => false;\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nCompiles correctly.\r\n\r\n**Actual behavior:**\r\n\r\nThe compiler reports an error:\r\n\r\n```\r\ntest.ts(7,3): error TS2424: Class 'Component' defines instance member function 'render', but extended class 'App' defines it as instance member property.\r\n```\r\n\r\nI know this may be designed, a feature rather than a bug, but such behavior is quite weird.","author":{"url":"https://github.com/xfoxfu","@type":"Person","name":"xfoxfu"},"datePublished":"2017-07-12T03:16:45Z","url":"https://github.com/microsoft/TypeScript/issues/17113"}

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:becff97c-eccf-24f6-44e3-63dbda51c184
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id931A:25598F:BBF4F8:F9DF62:6B00F238
html-safe-nonce27c5cfadd09a1660cfc6df4319cfa543333baca8a7dd8ef6906bc4797facd0a7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzFBOjI1NTk4RjpCQkY0Rjg6RjlERjYyOjZCMDBGMjM4IiwidmlzaXRvcl9pZCI6IjE5NTk4NzI1NDE5MzM3NjEwODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac582eec19e1616b5a4688c414be48fe481613675b61d53b07822b3a2e2b2835d8
hovercard-subject-tagissue:242245244
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/17113/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a2082a4e1b2a9071fdcdb79b5414af27af7a808c994de59ca3f201c65e969e04/microsoft/TypeScript/issues/17113
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a2082a4e1b2a9071fdcdb79b5414af27af7a808c994de59ca3f201c65e969e04/microsoft/TypeScript/issues/17113
og:image:altTypeScript Version: 2.4.1 Code class Component { render(): boolean { return false; } } class App extends Component { render = () => false; } Expected behavior: Compiles correctly. Actual behavior: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamexfoxfu
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/17113#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F17113
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%2F17113
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/17113
Reloadhttps://github.com/microsoft/TypeScript/issues/17113
Reloadhttps://github.com/microsoft/TypeScript/issues/17113
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)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/17113
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/17113
Arrow function is not compatible with ordinary onehttps://github.com/microsoft/TypeScript/issues/17113#top
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
Community (deprecated)https://github.com/microsoft/TypeScript/milestone/2
https://github.com/xfoxfu
Yuze Fu (xfoxfu)https://github.com/xfoxfu
on Jul 12, 2017https://github.com/microsoft/TypeScript/issues/17113#issue-242245244
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
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
on Jul 12, 2017https://github.com/microsoft/TypeScript/issues/17113#event-1160118593
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jul 12, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-314669757
https://github.com/xtuc
Sven Sauleau (xtuc)https://github.com/xtuc
on Jul 12, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-314671176
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Jul 12, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-314680363
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Accepting PRshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Accepting%20PRs%22
Effort: Easyhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Effort%3A%20Easy%22
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Oct 10, 2017https://github.com/microsoft/TypeScript/issues/17113#event-1286635646
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Oct 10, 2017https://github.com/microsoft/TypeScript/issues/17113#event-1286635973
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Oct 10, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-335559417
https://github.com/Kingwl
Wenlu Wang (Kingwl)https://github.com/Kingwl
on Oct 11, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-335658435
https://github.com/Kingwl
Wenlu Wang (Kingwl)https://github.com/Kingwl
on Oct 12, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-336007917
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Kitson Kelly (@kitsonk)https://github.com/kitsonk
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Oct 30, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-340555847
Wenlu Wang (@Kingwl)https://github.com/Kingwl
https://github.com/Kingwl
Wenlu Wang (Kingwl)https://github.com/Kingwl
on Nov 16, 2017https://github.com/microsoft/TypeScript/issues/17113#issuecomment-344833631
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/cshaa
csha (cshaa)https://github.com/cshaa
on Mar 8, 2018https://github.com/microsoft/TypeScript/issues/17113#issuecomment-371589356
Wenlu Wang (@Kingwl)https://github.com/Kingwl
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Sven Sauleau (@xtuc)https://github.com/xtuc
Kitson Kelly (@kitsonk)https://github.com/kitsonk
coderfoxhttps://github.com/coderfox
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Mar 8, 2018https://github.com/microsoft/TypeScript/issues/17113#issuecomment-371592627
m93ahttps://github.com/m93a
https://github.com/BlueSialia
Jorge (BlueSialia)https://github.com/BlueSialia
on May 17, 2018https://github.com/microsoft/TypeScript/issues/17113#issuecomment-389956537
coderfoxhttps://github.com/coderfox
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Jul 16, 2018https://github.com/microsoft/TypeScript/issues/17113#issuecomment-405144674
https://github.com/denis-sokolov
Denis Sokolov (denis-sokolov)https://github.com/denis-sokolov
on Aug 1, 2018https://github.com/microsoft/TypeScript/issues/17113#issuecomment-409599505
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Aug 1, 2018https://github.com/microsoft/TypeScript/issues/17113#issuecomment-409637375
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 1, 2018https://github.com/microsoft/TypeScript/issues/17113#event-1765687602
https://github.com/ackvf
Qwerty (Vítězslav Ackermann Ferko) (ackvf)https://github.com/ackvf
on Oct 11, 2019https://github.com/microsoft/TypeScript/issues/17113#issuecomment-541065601
https://github.com/anuja8275
Anuja Pande (anuja8275)https://github.com/anuja8275
on Jun 11, 2020https://github.com/microsoft/TypeScript/issues/17113#issuecomment-642523571
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/17113
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/17113
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
Community (deprecated)https://github.com/microsoft/TypeScript/milestone/2
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.