René's URL Explorer Experiment


Title: More prolific literal types by weswigham · Pull Request #19587 · microsoft/TypeScript · GitHub

Open Graph Title: More prolific literal types by weswigham · Pull Request #19587 · microsoft/TypeScript

X Title: More prolific literal types by weswigham · Pull Request #19587 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - More prolific literal types by weswigham · Pull Request #19587 · microsoft/TypeScript

Open Graph Description: This is an iteration on #19322. Building on what Anders Hejlsberg (@ahejlsberg) suggested in reviewing #19322, this fixes #16457 by, rather than doing any special-casing of contextual types, causin...

X Description: This is an iteration on #19322. Building on what Anders Hejlsberg (@ahejlsberg) suggested in reviewing #19322, this fixes #16457 by, rather than doing any special-casing of contextual types, causin...

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

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:f13e52a2-ebdd-9a47-ed9c-7d588a60b639
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD928:16C0DA:37CF6:4B8AF:6AFBD612
html-safe-nonce92072c894ebe138809d5d3227230cbc829187e75af2fdb2ae3736c05146042c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTI4OjE2QzBEQTozN0NGNjo0QjhBRjo2QUZCRDYxMiIsInZpc2l0b3JfaWQiOiI5MTIzMTIxOTIyNzk4NTA3NTM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac685b57186cf00c11d9d65cff345f7ef52eb5d87621de3fbab483f99dafbd770c
hovercard-subject-tagpull_request:149644538
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/19587/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/571f49fbd56b742571bdf6b395a65a540be23c6751d52f47db0a66aba8f4bb4b/microsoft/TypeScript/pull/19587
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/571f49fbd56b742571bdf6b395a65a540be23c6751d52f47db0a66aba8f4bb4b/microsoft/TypeScript/pull/19587
og:image:altThis is an iteration on #19322. Building on what Anders Hejlsberg (@ahejlsberg) suggested in reviewing #19322, this fixes #16457 by, rather than doing any special-casing of contextual types, causin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
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
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/19587#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F19587
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%2F19587
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/19587
Reloadhttps://github.com/microsoft/TypeScript/pull/19587
Reloadhttps://github.com/microsoft/TypeScript/pull/19587
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests334 (334)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/pulse
https://github.com/microsoft/TypeScript
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:advanced-literalshttps://github.com/weswigham/TypeScript/tree/advanced-literals
Conversationhttps://github.com/microsoft/TypeScript/pull/19587
Commits16 (16)https://github.com/microsoft/TypeScript/pull/19587/commits
Checkshttps://github.com/microsoft/TypeScript/pull/19587/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/19587/files
More prolific literal typeshttps://github.com/microsoft/TypeScript/pull/19587#top
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:advanced-literalshttps://github.com/weswigham/TypeScript/tree/advanced-literals
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Oct 30, 2017https://github.com/microsoft/TypeScript/pull/19587#issue-269763271
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
#19322https://github.com/microsoft/TypeScript/pull/19322
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
#19322https://github.com/microsoft/TypeScript/pull/19322
#16457https://github.com/microsoft/TypeScript/issues/16457
this commenthttps://github.com/Microsoft/TypeScript/pull/19322#issuecomment-340127904
#19632https://github.com/microsoft/TypeScript/issues/19632
#19837https://github.com/microsoft/TypeScript/issues/19837
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Wesley Wigham (weswigham)https://github.com/weswigham
October 18, 2017 19:57https://github.com/microsoft/TypeScript/pull/19587#commits-pushed-12d1f72
https://github.com/weswigham
Retain literal types in contextual unionshttps://github.com/microsoft/TypeScript/pull/19587/commits/12d1f72c9ffa81b00215283e28db67a9e59b7a25
12d1f72https://github.com/microsoft/TypeScript/pull/19587/commits/12d1f72c9ffa81b00215283e28db67a9e59b7a25
https://github.com/weswigham
Discriminate contextual thishttps://github.com/microsoft/TypeScript/pull/19587/commits/541e42e2f57e168d8d0eab220f31e1f175a8d452
541e42ehttps://github.com/microsoft/TypeScript/pull/19587/commits/541e42e2f57e168d8d0eab220f31e1f175a8d452
https://github.com/weswigham
Check if contextualType exists firsthttps://github.com/microsoft/TypeScript/pull/19587/commits/e8cd3b5624f9b3016b950ad5fff9acdc8b2e5d83
e8cd3b5https://github.com/microsoft/TypeScript/pull/19587/commits/e8cd3b5624f9b3016b950ad5fff9acdc8b2e5d83
https://github.com/weswigham
Swap to inferring more literals, bidirectional comparablehttps://github.com/microsoft/TypeScript/pull/19587/commits/577383e4727b5409aac50020bb77adef8c26bca6
577383ehttps://github.com/microsoft/TypeScript/pull/19587/commits/577383e4727b5409aac50020bb77adef8c26bca6
https://github.com/weswigham
Accpet baselines whose changes are just the addition or deletion of l…https://github.com/microsoft/TypeScript/pull/19587/commits/dfaf67b09076aee2ddc595da4bba1a19fd5d7615
dfaf67bhttps://github.com/microsoft/TypeScript/pull/19587/commits/dfaf67b09076aee2ddc595da4bba1a19fd5d7615
https://github.com/weswigham
Use monodirectional relationship even for comparability when mapping …https://github.com/microsoft/TypeScript/pull/19587/commits/489321bad5f2dcc34e35894636f49ef639db1dc9
489321bhttps://github.com/microsoft/TypeScript/pull/19587/commits/489321bad5f2dcc34e35894636f49ef639db1dc9
https://github.com/weswigham
Use assignable for string in operator comparisonhttps://github.com/microsoft/TypeScript/pull/19587/commits/fec134d9839a2279e45bbfc5efafc823c0f97f6c
fec134dhttps://github.com/microsoft/TypeScript/pull/19587/commits/fec134d9839a2279e45bbfc5efafc823c0f97f6c
https://github.com/weswigham
Use same logic for checkDeclarationInitializer and getTypeForBindingE…https://github.com/microsoft/TypeScript/pull/19587/commits/254d464cd50e83ac45b3200d8e7cdfcdaf893295
254d464https://github.com/microsoft/TypeScript/pull/19587/commits/254d464cd50e83ac45b3200d8e7cdfcdaf893295
https://github.com/weswigham
Update test to be more differenthttps://github.com/microsoft/TypeScript/pull/19587/commits/542deae6730b9f1bc91e132c95cec22291bf9f92
542deaehttps://github.com/microsoft/TypeScript/pull/19587/commits/542deae6730b9f1bc91e132c95cec22291bf9f92
https://github.com/weswigham
Merge branch 'master' into advanced-literalshttps://github.com/microsoft/TypeScript/pull/19587/commits/500120471312ecc4cfcb909e369b7eed25c86233
5001204https://github.com/microsoft/TypeScript/pull/19587/commits/500120471312ecc4cfcb909e369b7eed25c86233
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Oct 30, 2017 https://github.com/microsoft/TypeScript/pull/19587#ref-pullrequest-266706827
Retain literal types in some contextual unions #19322 https://github.com/microsoft/TypeScript/pull/19322
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
October 30, 2017 21:40https://github.com/microsoft/TypeScript/pull/19587#event-1317643806
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Oct 31, 2017https://github.com/microsoft/TypeScript/pull/19587#issuecomment-340910501
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
https://github.com/weswigham
Merge branch 'master' into advanced-literalshttps://github.com/microsoft/TypeScript/pull/19587/commits/b48d378ea469a4dffd7a5ee5b4f77e308c3abe80
b48d378https://github.com/microsoft/TypeScript/pull/19587/commits/b48d378ea469a4dffd7a5ee5b4f77e308c3abe80
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Oct 31, 2017https://github.com/microsoft/TypeScript/pull/19587#issuecomment-340920744
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 1, 2017 https://github.com/microsoft/TypeScript/pull/19587#ref-issue-235318275
Refine unions in contextual typing #16457 https://github.com/microsoft/TypeScript/issues/16457
Wesley Wigham (weswigham)https://github.com/weswigham
November 3, 2017 15:46https://github.com/microsoft/TypeScript/pull/19587#commits-pushed-1a71eea
https://github.com/weswigham
Merge branch 'master' into advanced-literalshttps://github.com/microsoft/TypeScript/pull/19587/commits/1a71eeaf5bb8717ec9a5d26ffa9ec3a0e13cae75
1a71eeahttps://github.com/microsoft/TypeScript/pull/19587/commits/1a71eeaf5bb8717ec9a5d26ffa9ec3a0e13cae75
https://github.com/weswigham
Extract discriminated contextual this for seperate PRhttps://github.com/microsoft/TypeScript/pull/19587/commits/fccfd132f643e4dab9dd7bb67b5f384d5eed3358
fccfd13https://github.com/microsoft/TypeScript/pull/19587/commits/fccfd132f643e4dab9dd7bb67b5f384d5eed3358
https://github.com/weswigham
Simplify content of isRelatedTo by changing handling of maybehttps://github.com/microsoft/TypeScript/pull/19587/commits/1268fabef03cacdd46ed23cee34341b436984a0a
1268fabhttps://github.com/microsoft/TypeScript/pull/19587/commits/1268fabef03cacdd46ed23cee34341b436984a0a
https://github.com/weswigham
Candidate literal should never be undefinedhttps://github.com/microsoft/TypeScript/pull/19587/commits/840c600632468c3648dc7a0aeda63447585a07b6
840c600https://github.com/microsoft/TypeScript/pull/19587/commits/840c600632468c3648dc7a0aeda63447585a07b6
https://github.com/weswigham
As requested, include fix forhttps://github.com/microsoft/TypeScript/pull/19587/commits/9c1bd454a55e810813bf162a74c275dff19c44f6
microsoft#19632https://github.com/microsoft/TypeScript/issues/19632
9c1bd45https://github.com/microsoft/TypeScript/pull/19587/commits/9c1bd454a55e810813bf162a74c275dff19c44f6
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 3, 2017https://github.com/microsoft/TypeScript/pull/19587#issuecomment-341854451
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 4, 2017 https://github.com/microsoft/TypeScript/pull/19587#ref-pullrequest-271153002
Discriminate contextual types #19733 https://github.com/microsoft/TypeScript/pull/19733
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 7, 2017 https://github.com/microsoft/TypeScript/pull/19587#pullrequestreview-74875222
View reviewed changes https://github.com/microsoft/TypeScript/pull/19587/files/9c1bd454a55e810813bf162a74c275dff19c44f6
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/19587#pullrequestreview-74875222
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/19587/files/9c1bd454a55e810813bf162a74c275dff19c44f6#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 7, 2017https://github.com/microsoft/TypeScript/pull/19587#discussion_r149476007
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/19587/files/9c1bd454a55e810813bf162a74c275dff19c44f6#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 7, 2017https://github.com/microsoft/TypeScript/pull/19587#discussion_r149495631
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 7, 2017https://github.com/microsoft/TypeScript/pull/19587#discussion_r149509556
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Ron Buckton (@rbuckton)https://github.com/rbuckton
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
tests/baselines/reference/arrayLiteralExpressionContextualTyping.errors.txthttps://github.com/microsoft/TypeScript/pull/19587/files/9c1bd454a55e810813bf162a74c275dff19c44f6#diff-e65318cd02d9cc6c86749db180564d55709ad7d3b7308bda8c70c0e80e2e25c3
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 7, 2017https://github.com/microsoft/TypeScript/pull/19587#discussion_r149498213
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 7, 2017https://github.com/microsoft/TypeScript/pull/19587#discussion_r149499885
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 7, 2017https://github.com/microsoft/TypeScript/pull/19587#discussion_r149502850
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Nov 7, 2017https://github.com/microsoft/TypeScript/pull/19587#issuecomment-342636018
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 8, 2017https://github.com/microsoft/TypeScript/pull/19587#issuecomment-342683122
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Fails to get contextual type for string literal in array #19837 https://github.com/microsoft/TypeScript/issues/19837
Preserve literal types in contextual unions #19966 https://github.com/microsoft/TypeScript/pull/19966
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 13, 2017https://github.com/microsoft/TypeScript/pull/19587#issuecomment-344012003
#19966https://github.com/microsoft/TypeScript/pull/19966
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 13, 2017https://github.com/microsoft/TypeScript/pull/19587#event-1339309049
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Dec 4, 2017 https://github.com/microsoft/TypeScript/pull/19587#ref-issue-275028984
Design Meeting Notes, 11/10/2017 #20121 https://github.com/microsoft/TypeScript/issues/20121
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/19587#event-1682116896
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%2F19587
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/19587/files/9c1bd454a55e810813bf162a74c275dff19c44f6
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
Fails to get contextual type for string literal in array https://github.com/microsoft/TypeScript/issues/19837
String literal generic not always inferred when part of union in nested object https://github.com/microsoft/TypeScript/issues/19632
Refine unions in contextual typing https://github.com/microsoft/TypeScript/issues/16457
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/19587
https://github.com/weswigham
https://github.com/mhegazy
https://github.com/ahejlsberg
https://github.com/sandersn
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.