René's URL Explorer Experiment


Title: Type 'this' in function properties of object literals by sandersn · Pull Request #8382 · microsoft/TypeScript · GitHub

Open Graph Title: Type 'this' in function properties of object literals by sandersn · Pull Request #8382 · microsoft/TypeScript

X Title: Type 'this' in function properties of object literals by sandersn · Pull Request #8382 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Type 'this' in function properties of object literals by sandersn · Pull Request #8382 · microsoft/TypeScript

Open Graph Description: Fixes #8110 Previously, methods of object literals would give a type to this. Now function properties of object literals also give a type to this. In other words, there are no more any types in the...

X Description: Fixes #8110 Previously, methods of object literals would give a type to this. Now function properties of object literals also give a type to this. In other words, there are no more any types in the...

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

X: @github

direct link

Domain: github.com

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:28428e9c-d20c-22ca-246d-e418ebceadea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90B2:26C2A:2038E6C:2BF92EC:6A630A5C
html-safe-nonce7fe6818d2b434023101bda5a5f2a3addbc709a8919ea6955891909526bc11e11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEIyOjI2QzJBOjIwMzhFNkM6MkJGOTJFQzo2QTYzMEE1QyIsInZpc2l0b3JfaWQiOiIxMzIyMDI2NjQ4MTQ2NzQxODUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac72f207ac8da4817377dab862bb006cc8496422fc71cc64bacbbea72d48eb7e47
hovercard-subject-tagpull_request:68406911
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/8382/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/25e4e819e7c210e79a03f859de23a70cfd153ced114d9d7eae61fc4f039cab79/microsoft/TypeScript/pull/8382
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/25e4e819e7c210e79a03f859de23a70cfd153ced114d9d7eae61fc4f039cab79/microsoft/TypeScript/pull/8382
og:image:altFixes #8110 Previously, methods of object literals would give a type to this. Now function properties of object literals also give a type to this. In other words, there are no more any types in the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
hostnamegithub.com
expected-hostnamegithub.com
Noneb48e7bf0b1945d51f303503b057abf666ce74c3efbe107b413db2bb921c3f012
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
release9370f37042c29822d6ba7e3f670f0036a0155b21
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/8382#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F8382
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%2Fpull%2F8382
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/8382
Reloadhttps://github.com/microsoft/TypeScript/pull/8382
Reloadhttps://github.com/microsoft/TypeScript/pull/8382
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
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
sandersnhttps://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
this-type-for-object-literal-function-propertieshttps://github.com/microsoft/TypeScript/tree/this-type-for-object-literal-function-properties
Conversationhttps://github.com/microsoft/TypeScript/pull/8382
Commits2 (2)https://github.com/microsoft/TypeScript/pull/8382/commits
Checkshttps://github.com/microsoft/TypeScript/pull/8382/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/8382/files
Type 'this' in function properties of object literalshttps://github.com/microsoft/TypeScript/pull/8382#top
sandersnhttps://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
this-type-for-object-literal-function-propertieshttps://github.com/microsoft/TypeScript/tree/this-type-for-object-literal-function-properties
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#issue-151929603
#8110https://github.com/microsoft/TypeScript/issues/8110
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
https://github.com/sandersn
Type 'this' in object literal function propertieshttps://github.com/microsoft/TypeScript/pull/8382/commits/c12cb83fb7b1054c4c87cd7c12dc60931ec2f055
c12cb83https://github.com/microsoft/TypeScript/pull/8382/commits/c12cb83fb7b1054c4c87cd7c12dc60931ec2f055
https://github.com/msftclas
msftclashttps://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#event-645992545
https://github.com/sandersn
Update looseThisTypeInFunctions baselineshttps://github.com/microsoft/TypeScript/pull/8382/commits/755ba737dac9e8553267ffa0ccf3c563200155e9
755ba73https://github.com/microsoft/TypeScript/pull/8382/commits/755ba737dac9e8553267ffa0ccf3c563200155e9
https://github.com/mhegazy
mhegazyhttps://github.com/mhegazy
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#issuecomment-215830711
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
DanielRosenwasserhttps://github.com/DanielRosenwasser
Apr 29, 2016 https://github.com/microsoft/TypeScript/pull/8382#discussion-diff-61631603
View reviewed changes https://github.com/microsoft/TypeScript/pull/8382/files/755ba737dac9e8553267ffa0ccf3c563200155e9#diff-cd8a2bcf76a6cd6ef99e1267e94bddcea8af199824e14d85a2a1708de814a4c2
tests/baselines/reference/looseThisTypeInFunctions.jshttps://github.com/microsoft/TypeScript/pull/8382/files#diff-cd8a2bcf76a6cd6ef99e1267e94bddcea8af199824e14d85a2a1708de814a4c2
DanielRosenwasserhttps://github.com/DanielRosenwasser
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#discussion_r61631603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
DanielRosenwasserhttps://github.com/DanielRosenwasser
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#discussion_r61631795
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
sandersnhttps://github.com/sandersn
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#discussion_r61638578
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#issuecomment-215854005
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
https://github.com/sandersn
sandersnhttps://github.com/sandersn
655e24chttps://github.com/microsoft/TypeScript/commit/655e24cd4a35e35272081e12e9f6c62f90e4cc84
Apr 29, 2016https://github.com/microsoft/TypeScript/pull/8382#event-646168584
https://github.com/sandersn
sandersnhttps://github.com/sandersn
April 29, 2016 20:17https://github.com/microsoft/TypeScript/pull/8382#event-646168684
https://github.com/mhegazy
mhegazyhttps://github.com/mhegazy
Apr 29, 2016 https://github.com/microsoft/TypeScript/pull/8382#ref-issue-149561931
Incorrect/overly strong this inference for POJOs #8191 https://github.com/microsoft/TypeScript/issues/8191
https://github.com/teintinu
teintinuhttps://github.com/teintinu
Jul 14, 2016https://github.com/microsoft/TypeScript/pull/8382#issuecomment-232632729
@sandersnhttps://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Jul 14, 2016https://github.com/microsoft/TypeScript/pull/8382#issuecomment-232693285
#8191https://github.com/microsoft/TypeScript/issues/8191
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
https://github.com/yortus
yortushttps://github.com/yortus
Sep 10, 2016 https://github.com/microsoft/TypeScript/pull/8382#ref-issue-176169999
can’t use 'this' in object literals with --noImplicitThis #10835 https://github.com/microsoft/TypeScript/issues/10835
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Sep 23, 2016 https://github.com/microsoft/TypeScript/pull/8382#ref-issue-178751412
In JS, this in object literals is untyped #11072 https://github.com/microsoft/TypeScript/issues/11072
https://github.com/mjbvz
mjbvzhttps://github.com/mjbvz
Nov 18, 2016 https://github.com/microsoft/TypeScript/pull/8382#ref-issue-117944696
Object methods are missing IntelliSense microsoft/vscode#298 https://github.com/microsoft/vscode/issues/298
https://github.com/FranklinWhale
FranklinWhalehttps://github.com/FranklinWhale
Dec 9, 2016 https://github.com/microsoft/TypeScript/pull/8382#ref-issue-194520164
Option to make this in functions inside object literals typed #12785 https://github.com/microsoft/TypeScript/issues/12785
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Feb 17, 2017 https://github.com/microsoft/TypeScript/pull/8382#ref-pullrequest-208309119
Typed 'this' in object literal methods #14141 https://github.com/microsoft/TypeScript/pull/14141
https://github.com/microsoft
microsofthttps://github.com/microsoft
Jun 19, 2018https://github.com/microsoft/TypeScript/pull/8382#event-1689834104
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%2F8382
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8382
https://github.com/sandersn
https://github.com/mhegazy
https://github.com/DanielRosenwasser
https://github.com/teintinu
https://github.com/msftclas
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.