René's URL Explorer Experiment


Title: `typeof x` now has a string literal union type by sandersn · Pull Request #13791 · microsoft/TypeScript · GitHub

Open Graph Title: `typeof x` now has a string literal union type by sandersn · Pull Request #13791 · microsoft/TypeScript

X Title: `typeof x` now has a string literal union type by sandersn · Pull Request #13791 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - `typeof x` now has a string literal union type by sandersn · Pull Request #13791 · microsoft/TypeScript

Open Graph Description: typeof x now has the string literal type 'string' | 'number' | 'boolean' | 'symbol' | 'undefined' | 'object' | 'function'. This will prevent ...

X Description: typeof x now has the string literal type 'string' | 'number' | 'boolean' | 'symbol' | 'undefined' | 'object&a...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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:6fc100be-5867-e945-3c5e-261b42f90833
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB638:1FAD:1151D93:1726D55:6B03E16B
html-safe-noncea12cf909c730df66a209fa82f1460758725a13a1c98d8ae9b4535cb65c60351b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjM4OjFGQUQ6MTE1MUQ5MzoxNzI2RDU1OjZCMDNFMTZCIiwidmlzaXRvcl9pZCI6IjU0ODg3ODQ2NDc3NzExMTk5NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdb234fecf47f302eb79cf5c67194602f0161d5f8b7353f3d3ac113b47c6bd198
hovercard-subject-tagpull_request:103996890
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/13791/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2bb544aaf3e815535c00c8bedcffd9d2d439157f0af1e3600bf5da7e9c8b68c6/microsoft/TypeScript/pull/13791
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2bb544aaf3e815535c00c8bedcffd9d2d439157f0af1e3600bf5da7e9c8b68c6/microsoft/TypeScript/pull/13791
og:image:alttypeof x now has the string literal type 'string' | 'number' | 'boolean' | 'symbol' | 'undefined' | 'object' | 'function'. This will prevent ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/13791#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F13791
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%2F13791
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/13791
Reloadhttps://github.com/microsoft/TypeScript/pull/13791
Reloadhttps://github.com/microsoft/TypeScript/pull/13791
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests320 (320)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
typeof-string-literal-union-typehttps://github.com/microsoft/TypeScript/tree/typeof-string-literal-union-type
Conversationhttps://github.com/microsoft/TypeScript/pull/13791
Commits6 (6)https://github.com/microsoft/TypeScript/pull/13791/commits
Checkshttps://github.com/microsoft/TypeScript/pull/13791/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/13791/files
typeof x now has a string literal union typehttps://github.com/microsoft/TypeScript/pull/13791#top
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
typeof-string-literal-union-typehttps://github.com/microsoft/TypeScript/tree/typeof-string-literal-union-type
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jan 31, 2017https://github.com/microsoft/TypeScript/pull/13791#issue-204386380
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
#13789https://github.com/microsoft/TypeScript/issues/13789
#9506https://github.com/microsoft/TypeScript/issues/9506
#13771https://github.com/microsoft/TypeScript/issues/13771
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
January 31, 2017 10:28https://github.com/microsoft/TypeScript/pull/13791#commits-pushed-d77945f
https://github.com/sandersn
typeof now has string literal union typehttps://github.com/microsoft/TypeScript/pull/13791/commits/d77945fe1f426ef5b7e1d110125a628013a83d16
d77945fhttps://github.com/microsoft/TypeScript/pull/13791/commits/d77945fe1f426ef5b7e1d110125a628013a83d16
https://github.com/sandersn
Add typeof test case and update baselineshttps://github.com/microsoft/TypeScript/pull/13791/commits/69e9bfef356ed904d35ec601ff0d00f4c842a7d3
69e9bfehttps://github.com/microsoft/TypeScript/pull/13791/commits/69e9bfef356ed904d35ec601ff0d00f4c842a7d3
https://github.com/sandersn
Add arrayFromMap utility functionhttps://github.com/microsoft/TypeScript/pull/13791/commits/01bc4efc82105043cb98e1aa9105354a78ea5424
01bc4efhttps://github.com/microsoft/TypeScript/pull/13791/commits/01bc4efc82105043cb98e1aa9105354a78ea5424
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Jan 31, 2017https://github.com/microsoft/TypeScript/pull/13791#event-943568032
https://github.com/vladima
Vladimir Matveev (vladima)https://github.com/vladima
Jan 31, 2017 https://github.com/microsoft/TypeScript/pull/13791#pullrequestreview-19435256
View reviewed changes https://github.com/microsoft/TypeScript/pull/13791/files/01bc4efc82105043cb98e1aa9105354a78ea5424
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/13791/files/01bc4efc82105043cb98e1aa9105354a78ea5424#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Vladimir Matveev (vladima)https://github.com/vladima
Jan 31, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r98782040
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jan 31, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r98782191
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jan 31, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r98789433
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/sandersn
Create typeof's string literal union type oncehttps://github.com/microsoft/TypeScript/pull/13791/commits/2ce64f2bad67b3422423dddc8ad4e3d05030c64f
2ce64f2https://github.com/microsoft/TypeScript/pull/13791/commits/2ce64f2bad67b3422423dddc8ad4e3d05030c64f
https://github.com/vladima
Vladimir Matveev (vladima)https://github.com/vladima
Feb 1, 2017 https://github.com/microsoft/TypeScript/pull/13791#pullrequestreview-19634916
View reviewed changes https://github.com/microsoft/TypeScript/pull/13791/files/2ce64f2bad67b3422423dddc8ad4e3d05030c64f
src/compiler/core.tshttps://github.com/microsoft/TypeScript/pull/13791/files/2ce64f2bad67b3422423dddc8ad4e3d05030c64f#diff-8eee8edc4cdf82aaa3b0c0ba3c8c74fa80ac6d5214540a460c49fb2ee1031b25
Vladimir Matveev (vladima)https://github.com/vladima
Feb 1, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r98975498
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 1, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r98976136
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Vladimir Matveev (vladima)https://github.com/vladima
Feb 1, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r98977269
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 1, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r98978995
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/sandersn
rename arrayFromMap -> convertToArrayhttps://github.com/microsoft/TypeScript/pull/13791/commits/d23f692734a38ee6c5a7764c432f65c4e4cb7564
d23f692https://github.com/microsoft/TypeScript/pull/13791/commits/d23f692734a38ee6c5a7764c432f65c4e4cb7564
https://github.com/vladima
Vladimir Matveev (vladima)https://github.com/vladima
Feb 1, 2017 https://github.com/microsoft/TypeScript/pull/13791#pullrequestreview-19675598
View reviewed changes https://github.com/microsoft/TypeScript/pull/13791/files/d23f692734a38ee6c5a7764c432f65c4e4cb7564
tests/baselines/reference/typeGuardOfFormTypeOfOther.errors.txthttps://github.com/microsoft/TypeScript/pull/13791/files/d23f692734a38ee6c5a7764c432f65c4e4cb7564#diff-ebe0b91c21b076f296ccdd5a3debf294ddbb0d64ebb97ad9fda7064eb8694f4c
Vladimir Matveev (vladima)https://github.com/vladima
Feb 1, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r99014102
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 1, 2017https://github.com/microsoft/TypeScript/pull/13791#discussion_r99015317
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/sandersn
Merge branch 'master' into typeof-string-literal-union-typehttps://github.com/microsoft/TypeScript/pull/13791/commits/bcd1ef8477c36671ac850eb73740fd6bb9502204
bcd1ef8https://github.com/microsoft/TypeScript/pull/13791/commits/bcd1ef8477c36671ac850eb73740fd6bb9502204
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
363d914https://github.com/microsoft/TypeScript/commit/363d91425e60bcc6fd5c783bde9ff0dc9fb75ec8
Feb 7, 2017https://github.com/microsoft/TypeScript/pull/13791#event-952829611
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
February 7, 2017 21:19https://github.com/microsoft/TypeScript/pull/13791#event-952829676
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
Feb 7, 2017 https://github.com/microsoft/TypeScript/pull/13791#ref-issue-206020636
Deprecate typeof-compare palantir/tslint#2187 https://github.com/palantir/tslint/issues/2187
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
Feb 8, 2017https://github.com/microsoft/TypeScript/pull/13791#event-953094022
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.2.1https://github.com/microsoft/TypeScript/milestone/37
Feb 8, 2017https://github.com/microsoft/TypeScript/pull/13791#event-953094082
https://github.com/treshugart
Trey Shugart (treshugart)https://github.com/treshugart
Feb 14, 2017https://github.com/microsoft/TypeScript/pull/13791#issuecomment-279846068
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Feb 14, 2017https://github.com/microsoft/TypeScript/pull/13791#issuecomment-279846503
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 14, 2017https://github.com/microsoft/TypeScript/pull/13791#issuecomment-279846570
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/treshugart
Trey Shugart (treshugart)https://github.com/treshugart
Feb 15, 2017https://github.com/microsoft/TypeScript/pull/13791#issuecomment-279894388
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Feb 15, 2017https://github.com/microsoft/TypeScript/pull/13791#issuecomment-279896615
https://github.com/Microsoft/TypeScript/wiki/Breaking-Changeshttps://github.com/Microsoft/TypeScript/wiki/Breaking-Changes
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/BenSayers
Ben (BenSayers)https://github.com/BenSayers
Apr 6, 2017https://github.com/microsoft/TypeScript/pull/13791#issuecomment-292082025
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
semverhttp://semver.org
Npm docs recommendhttps://docs.npmjs.com/getting-started/semantic-versioning
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 6, 2017https://github.com/microsoft/TypeScript/pull/13791#issuecomment-292223732
Ben (@BenSayers)https://github.com/BenSayers
Trey Shugart (@treshugart)https://github.com/treshugart
#14116https://github.com/microsoft/TypeScript/issues/14116
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/fvoska
Filip Voska (fvoska)https://github.com/fvoska
Apr 9, 2018 https://github.com/microsoft/TypeScript/pull/13791#ref-pullrequest-312464407
Replace deprecated rules infinum/tslint-config#8 https://github.com/infinum/tslint-config/pull/8
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 19, 2018https://github.com/microsoft/TypeScript/pull/13791#event-1689928714
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%2F13791
https://github.com/vladima
Vladimir Matveev (vladima) https://github.com/vladima
https://github.com/microsoft/TypeScript/pull/13791/files/d23f692734a38ee6c5a7764c432f65c4e4cb7564
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
TypeScript 2.2.1 https://github.com/microsoft/TypeScript/milestone/37
typeof foo === "array" causes type narrowing https://github.com/microsoft/TypeScript/issues/13771
Typeof comparison expression should check right hand side value https://github.com/microsoft/TypeScript/issues/9506
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/13791
https://github.com/sandersn
https://github.com/treshugart
https://github.com/mhegazy
https://github.com/BenSayers
https://github.com/vladima
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.