René's URL Explorer Experiment


Title: Incorrect/overly strong `this` inference for POJOs · Issue #8191 · microsoft/TypeScript · GitHub

Open Graph Title: Incorrect/overly strong `this` inference for POJOs · Issue #8191 · microsoft/TypeScript

X Title: Incorrect/overly strong `this` inference for POJOs · Issue #8191 · microsoft/TypeScript

Description: TypeScript Version: nightly (1.9.0-dev.20160419) Code Ember.Object.extend({ init() { this._super(); // ^~~~ error TS2339: Property '_super' does not exist on type '{ init(): void; }'. ... } }); Expected behavior: this should be inferred ...

Open Graph Description: TypeScript Version: nightly (1.9.0-dev.20160419) Code Ember.Object.extend({ init() { this._super(); // ^~~~ error TS2339: Property '_super' does not exist on type '{ init(): void; }'. ... } }); Exp...

X Description: TypeScript Version: nightly (1.9.0-dev.20160419) Code Ember.Object.extend({ init() { this._super(); // ^~~~ error TS2339: Property '_super' does not exist on type '{ init(): void; }'...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect/overly strong `this` inference for POJOs","articleBody":"**TypeScript Version:** \n\nnightly (1.9.0-dev.20160419)\n\n**Code**\n\n``` ts\nEmber.Object.extend({\n  init() {\n    this._super();\n//  ^~~~ error TS2339: Property '_super' does not exist on type '{ init(): void; }'.\n    ...\n  }\n});\n```\n\n**Expected behavior:**\n\n`this` should be inferred as `any`\n\n**Actual behavior:**\n\n`this` is inferred to be `{ init(): void; }`\n\n---\n\nThis changed somewhere between `typescript@1.9.0-dev.20160319` and `typescript@1.9.0-dev.20160419`. I believe it is unsafe to assume anything about the `this` on the \"methods\" on a POJO, as there are several common patterns in JavaScript that breaks this assumption (using POJOs as an \"options\" or \"extensions\" dictionary).\n","author":{"url":"https://github.com/chancancode","@type":"Person","name":"chancancode"},"datePublished":"2016-04-19T19:42:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/8191/TypeScript/issues/8191"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b9826940-f9dd-7f58-0026-2607bad0a451
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E36:1090D2:FBB3F5:16AABFB:6A632CBE
html-safe-nonce7a3ab91371c815dc3d75f117107219030ce6cf64f0c934d5f5f8382c199ab331
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTM2OjEwOTBEMjpGQkIzRjU6MTZBQUJGQjo2QTYzMkNCRSIsInZpc2l0b3JfaWQiOiI2NDM0MTAyNDE0MTI0NzIzMzkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc379f98859896353e29b510a11f6e88538cf8765d291eae89009c1ac9a566e33
hovercard-subject-tagissue:149561931
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/8191/issue_layout
twitter:imagehttps://opengraph.githubassets.com/39ead3165465c1f03ad9cec29aca1b633e79e48655b585cb9cf36ffb04714867/microsoft/TypeScript/issues/8191
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39ead3165465c1f03ad9cec29aca1b633e79e48655b585cb9cf36ffb04714867/microsoft/TypeScript/issues/8191
og:image:altTypeScript Version: nightly (1.9.0-dev.20160419) Code Ember.Object.extend({ init() { this._super(); // ^~~~ error TS2339: Property '_super' does not exist on type '{ init(): void; }'. ... } }); Exp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechancancode
hostnamegithub.com
expected-hostnamegithub.com
None30c644d502bce6cd2e59f9000b4744f2b64819abea8e8f959b18e3ad793125aa
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
release331492a48ebd91d66ef2de38e1901bb911c9fe9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/8191#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F8191
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F8191
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
Reloadhttps://github.com/microsoft/TypeScript/issues/8191
Reloadhttps://github.com/microsoft/TypeScript/issues/8191
Reloadhttps://github.com/microsoft/TypeScript/issues/8191
Please reload this pagehttps://github.com/microsoft/TypeScript/issues/8191
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 21 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
#8389https://github.com/microsoft/TypeScript/pull/8389
Incorrect/overly strong this inference for POJOshttps://github.com/microsoft/TypeScript/issues/8191#top
#8389https://github.com/microsoft/TypeScript/pull/8389
https://github.com/sandersn
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
https://github.com/chancancode
chancancodehttps://github.com/chancancode
on Apr 19, 2016https://github.com/microsoft/TypeScript/issues/8191#issue-149561931
sandersnhttps://github.com/sandersn
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
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.