René's URL Explorer Experiment


Title: In JS, this assignments in constructors are preferred and nullable initializers become any by sandersn · Pull Request #22882 · microsoft/TypeScript · GitHub

Open Graph Title: In JS, this assignments in constructors are preferred and nullable initializers become any by sandersn · Pull Request #22882 · microsoft/TypeScript

X Title: In JS, this assignments in constructors are preferred and nullable initializers become any by sandersn · Pull Request #22882 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - In JS, this assignments in constructors are preferred and nullable initializers become any by sandersn · Pull Request #22882 · microsoft/TypeScript

Open Graph Description: In Javascript, the compiler unions the type of all special-property-assignments to determine the type of properties declared this way. For example: function C () { } C.prototype.m1 = function() { t...

X Description: In Javascript, the compiler unions the type of all special-property-assignments to determine the type of properties declared this way. For example: function C () { } C.prototype.m1 = function() { t...

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

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b9508433-25fc-5b94-8671-cf10fc114ad4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD16:8AE25:F033C8:13EFD0B:6B01D8E5
html-safe-nonce464fafd83812aa68c72f2b3ce6f256413f6a144e3fb3d8baea856a46a733f2e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDE2OjhBRTI1OkYwMzNDODoxM0VGRDBCOjZCMDFEOEU1IiwidmlzaXRvcl9pZCI6Ijc1MjIyNTM0MDY3MzY2MDMzNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac710ee097f10e58beb85f5c4402a670c392dd8d4d9ee4f0898e191af578b5e894
hovercard-subject-tagpull_request:177503029
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/22882/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/57cbe958f1b11685c0ccb9cac10155dfcc017d830f4295beb1c6f47f072ba838/microsoft/TypeScript/pull/22882
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/57cbe958f1b11685c0ccb9cac10155dfcc017d830f4295beb1c6f47f072ba838/microsoft/TypeScript/pull/22882
og:image:altIn Javascript, the compiler unions the type of all special-property-assignments to determine the type of properties declared this way. For example: function C () { } C.prototype.m1 = function() { t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/22882#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F22882
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%2Fpull%2F22882
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/22882
Reloadhttps://github.com/microsoft/TypeScript/pull/22882
Reloadhttps://github.com/microsoft/TypeScript/pull/22882
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)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
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
js/constructor-initializershttps://github.com/microsoft/TypeScript/tree/js/constructor-initializers
Conversationhttps://github.com/microsoft/TypeScript/pull/22882
Commits10 (10)https://github.com/microsoft/TypeScript/pull/22882/commits
Checkshttps://github.com/microsoft/TypeScript/pull/22882/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/22882/files
In JS, this assignments in constructors are preferred and nullable initializers become anyhttps://github.com/microsoft/TypeScript/pull/22882#top
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
js/constructor-initializershttps://github.com/microsoft/TypeScript/tree/js/constructor-initializers
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#issue-308647582
#22792https://github.com/microsoft/TypeScript/issues/22792
#22458https://github.com/microsoft/TypeScript/issues/22458
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
March 22, 2018 16:26https://github.com/microsoft/TypeScript/pull/22882#commits-pushed-15383c6
https://github.com/sandersn
First draft:in js, constructor declaration is preferredhttps://github.com/microsoft/TypeScript/pull/22882/commits/15383c63c88e0fa19aec962fc3bba9350db6215c
15383c6https://github.com/microsoft/TypeScript/pull/22882/commits/15383c63c88e0fa19aec962fc3bba9350db6215c
https://github.com/sandersn
Add testshttps://github.com/microsoft/TypeScript/pull/22882/commits/f69c28ec8fdd0ed6a62a9f64e419c7cb5b7ccff0
f69c28ehttps://github.com/microsoft/TypeScript/pull/22882/commits/f69c28ec8fdd0ed6a62a9f64e419c7cb5b7ccff0
https://github.com/sandersn
initializer of null|undefined gives any in JShttps://github.com/microsoft/TypeScript/pull/22882/commits/c9dcda350474a98a081d91e1ea2b37962e09095c
c9dcda3https://github.com/microsoft/TypeScript/pull/22882/commits/c9dcda350474a98a081d91e1ea2b37962e09095c
https://github.com/sandersn
In JS, initializer null|undefined: any, []: any[]https://github.com/microsoft/TypeScript/pull/22882/commits/50bacbf76f95aa2a4784a052834c2622aeac2e63
50bacbfhttps://github.com/microsoft/TypeScript/pull/22882/commits/50bacbf76f95aa2a4784a052834c2622aeac2e63
https://github.com/sandersn
First draft of js prefer-ctor-types overhaulhttps://github.com/microsoft/TypeScript/pull/22882/commits/222ae09e870fb6bc2ea18fa820374ef5eff4ff8e
222ae09https://github.com/microsoft/TypeScript/pull/22882/commits/222ae09e870fb6bc2ea18fa820374ef5eff4ff8e
https://github.com/sandersn
Update tests, update baselineshttps://github.com/microsoft/TypeScript/pull/22882/commits/9c76e4e20807ee8d690e313993a7c97662c152cb
9c76e4ehttps://github.com/microsoft/TypeScript/pull/22882/commits/9c76e4e20807ee8d690e313993a7c97662c152cb
https://github.com/sandersn
Improve readability of constructor-type preferencehttps://github.com/microsoft/TypeScript/pull/22882/commits/9ca65dc6b6a41ff41eaddbc2896bcd9c9297fd74
9ca65dchttps://github.com/microsoft/TypeScript/pull/22882/commits/9ca65dc6b6a41ff41eaddbc2896bcd9c9297fd74
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Wesley Wigham (weswigham)https://github.com/weswigham
March 26, 2018 16:38https://github.com/microsoft/TypeScript/pull/22882#event-1541325253
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#issuecomment-376230923
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#issuecomment-376231485
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#issuecomment-376233271
Wesley Wigham (@weswigham)https://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
https://github.com/sandersn
Cleanup: Remove TODO and duplicationhttps://github.com/microsoft/TypeScript/pull/22882/commits/b1105e868c0f9a9541971728140bad5d9da1860a
b1105e8https://github.com/microsoft/TypeScript/pull/22882/commits/b1105e868c0f9a9541971728140bad5d9da1860a
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#issuecomment-376239822
Wesley Wigham (@weswigham)https://github.com/weswigham
Oliver Joseph Ash (@OliverJAsh)https://github.com/OliverJAsh
The compiler comes with free frogurt!https://www.youtube.com/watch?v=Krbl911ZPBA
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
https://github.com/sandersn
Add noImplicitAny errorshttps://github.com/microsoft/TypeScript/pull/22882/commits/5ac76eed96d502c3880c8d1f21a6d25025754307
5ac76eehttps://github.com/microsoft/TypeScript/pull/22882/commits/5ac76eed96d502c3880c8d1f21a6d25025754307
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 26, 2018 https://github.com/microsoft/TypeScript/pull/22882#pullrequestreview-107007078
View reviewed changes https://github.com/microsoft/TypeScript/pull/22882/files/5ac76eed96d502c3880c8d1f21a6d25025754307
Wesley Wigham (weswigham)https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/22882#pullrequestreview-107007078
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/22882/files/5ac76eed96d502c3880c8d1f21a6d25025754307#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#discussion_r177178512
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/22882/files/5ac76eed96d502c3880c8d1f21a6d25025754307#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#discussion_r177183815
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#discussion_r177222263
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
https://github.com/sandersn
Add commenthttps://github.com/microsoft/TypeScript/pull/22882/commits/709080cc99dc00c580d4460226b01b8ae882489a
709080chttps://github.com/microsoft/TypeScript/pull/22882/commits/709080cc99dc00c580d4460226b01b8ae882489a
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
c9ac15ahttps://github.com/microsoft/TypeScript/commit/c9ac15ae56ff55dd6b8ae4bd00c929ecf489f2ec
Mar 26, 2018https://github.com/microsoft/TypeScript/pull/22882#event-1541815537
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
March 26, 2018 20:42https://github.com/microsoft/TypeScript/pull/22882#event-1541815673
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Mar 26, 2018 https://github.com/microsoft/TypeScript/pull/22882#pullrequestreview-107102533
View reviewed changes https://github.com/microsoft/TypeScript/pull/22882/files/709080cc99dc00c580d4460226b01b8ae882489a
Deleted user (ghost)https://github.com/ghost
https://github.com/microsoft/TypeScript/pull/22882#pullrequestreview-107102533
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jul 25, 2018https://github.com/microsoft/TypeScript/pull/22882#event-1753425663
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%2F22882
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/22882/files/5ac76eed96d502c3880c8d1f21a6d25025754307
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22882
https://github.com/sandersn
https://github.com/weswigham
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.