René's URL Explorer Experiment


Title: Fix destructuring and narrowing interaction by gabritto · Pull Request #47337 · microsoft/TypeScript · GitHub

Open Graph Title: Fix destructuring and narrowing interaction by gabritto · Pull Request #47337 · microsoft/TypeScript

X Title: Fix destructuring and narrowing interaction by gabritto · Pull Request #47337 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Fix destructuring and narrowing interaction by gabritto · Pull Request #47337 · microsoft/TypeScript

Open Graph Description: Fixes #45762 Background In 4.3, we improved control-flow narrowing of generic types (#43183). When we are about to go into control-flow narrowing, we call a function getNarrowableTypeForReference, ...

X Description: Fixes #45762 Background In 4.3, we improved control-flow narrowing of generic types (#43183). When we are about to go into control-flow narrowing, we call a function getNarrowableTypeForReference, ...

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

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:f00e17a0-6146-c164-55ee-c8c5f20c9cd1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9E0:117C62:190B156:215E881:6B015130
html-safe-nonce456fe2a51cd849978482bc92402eb40c801390da00c85eb67a1fa1daba49cd6c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUUwOjExN0M2MjoxOTBCMTU2OjIxNUU4ODE6NkIwMTUxMzAiLCJ2aXNpdG9yX2lkIjoiNTMwMzIxNDA3NDU3Njg1MTI0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0f0ab9af42329d9fb5e91ad1fbfa3b18a2cf82952a903c9400d942562accd892
hovercard-subject-tagpull_request:815847288
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/47337/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/026a6570f6f16e41a98c695ebfc7f1792f01dd69d1a11b6ba975a95df246e6db/microsoft/TypeScript/pull/47337
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/026a6570f6f16e41a98c695ebfc7f1792f01dd69d1a11b6ba975a95df246e6db/microsoft/TypeScript/pull/47337
og:image:altFixes #45762 Background In 4.3, we improved control-flow narrowing of generic types (#43183). When we are about to go into control-flow narrowing, we call a function getNarrowableTypeForReference, ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegabritto
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/47337#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47337
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%2F47337
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/47337
Reloadhttps://github.com/microsoft/TypeScript/pull/47337
Reloadhttps://github.com/microsoft/TypeScript/pull/47337
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
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
mainhttps://github.com/microsoft/TypeScript/tree/main
gabritto/issue45762https://github.com/microsoft/TypeScript/tree/gabritto/issue45762
Conversationhttps://github.com/microsoft/TypeScript/pull/47337
Commits17 (17)https://github.com/microsoft/TypeScript/pull/47337/commits
Checkshttps://github.com/microsoft/TypeScript/pull/47337/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/47337/files
Fix destructuring and narrowing interactionhttps://github.com/microsoft/TypeScript/pull/47337#top
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
mainhttps://github.com/microsoft/TypeScript/tree/main
gabritto/issue45762https://github.com/microsoft/TypeScript/tree/gabritto/issue45762
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 6, 2022https://github.com/microsoft/TypeScript/pull/47337#issue-1095701751
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
#45762https://github.com/microsoft/TypeScript/issues/45762
#43183https://github.com/microsoft/TypeScript/pull/43183
#43941https://github.com/microsoft/TypeScript/issues/43941
#43941https://github.com/microsoft/TypeScript/issues/43941
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
December 13, 2021 17:32https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-e9b9f2d
https://github.com/gabritto
WIP: pass in checkmode to getNarrowableTypeForReferencehttps://github.com/microsoft/TypeScript/pull/47337/commits/e9b9f2d1631ea686c8952e8599f068d7c271fa9d
e9b9f2dhttps://github.com/microsoft/TypeScript/pull/47337/commits/e9b9f2d1631ea686c8952e8599f068d7c271fa9d
https://github.com/gabritto
add testshttps://github.com/microsoft/TypeScript/pull/47337/commits/a89fa722e7449dfcd573182d6bfdb4a00a093b4c
a89fa72https://github.com/microsoft/TypeScript/pull/47337/commits/a89fa722e7449dfcd573182d6bfdb4a00a093b4c
https://github.com/gabritto
Merge branch 'main' into gabritto/issue45762https://github.com/microsoft/TypeScript/pull/47337/commits/b4eab713abc6bee0f3d67fde1505e9d18df3138d
b4eab71https://github.com/microsoft/TypeScript/pull/47337/commits/b4eab713abc6bee0f3d67fde1505e9d18df3138d
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 6, 2022https://github.com/microsoft/TypeScript/pull/47337#event-5854587984
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jan 6, 2022https://github.com/microsoft/TypeScript/pull/47337#event-5854588032
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
January 6, 2022 16:20https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-789c249
https://github.com/gabritto
another pass through new check mode argumenthttps://github.com/microsoft/TypeScript/pull/47337/commits/789c249981e1a519e0062a751e0b9ccb3eec2c20
789c249https://github.com/microsoft/TypeScript/pull/47337/commits/789c249981e1a519e0062a751e0b9ccb3eec2c20
https://github.com/gabritto
rename new check modehttps://github.com/microsoft/TypeScript/pull/47337/commits/167542215b09359559588c3a064a5788415e789c
1675422https://github.com/microsoft/TypeScript/pull/47337/commits/167542215b09359559588c3a064a5788415e789c
https://github.com/gabritto
only use rest flag for rest elements in objectshttps://github.com/microsoft/TypeScript/pull/47337/commits/e38503817241cec37f80da430ce5333a480fe5ca
e385038https://github.com/microsoft/TypeScript/pull/47337/commits/e38503817241cec37f80da430ce5333a480fe5ca
https://github.com/gabritto
add and update testshttps://github.com/microsoft/TypeScript/pull/47337/commits/a831ccd6f63b841dcb9b93741532c83da947efa9
a831ccdhttps://github.com/microsoft/TypeScript/pull/47337/commits/a831ccd6f63b841dcb9b93741532c83da947efa9
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jan 10, 2022https://github.com/microsoft/TypeScript/pull/47337#event-5869029714
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 10, 2022https://github.com/microsoft/TypeScript/pull/47337#event-5869030796
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
January 10, 2022 14:02https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-16c8a2d
https://github.com/gabritto
Merge branch 'main' into gabritto/issue45762https://github.com/microsoft/TypeScript/pull/47337/commits/16c8a2d176b350d23a7d6ee14f9f4bf1495a666e
16c8a2dhttps://github.com/microsoft/TypeScript/pull/47337/commits/16c8a2d176b350d23a7d6ee14f9f4bf1495a666e
https://github.com/gabritto
change check mode flag namehttps://github.com/microsoft/TypeScript/pull/47337/commits/68276e4e050f2efe54be7c1dbb0b565cf591c1ba
68276e4https://github.com/microsoft/TypeScript/pull/47337/commits/68276e4e050f2efe54be7c1dbb0b565cf591c1ba
https://github.com/gabritto
restore package-lock.jsonhttps://github.com/microsoft/TypeScript/pull/47337/commits/53834545f0d9b959eae19e117030968c5478f7d4
5383454https://github.com/microsoft/TypeScript/pull/47337/commits/53834545f0d9b959eae19e117030968c5478f7d4
https://github.com/gabritto
fix commentshttps://github.com/microsoft/TypeScript/pull/47337/commits/30b7589302bf6c4183f731cfd202edfd03ffc979
30b7589https://github.com/microsoft/TypeScript/pull/47337/commits/30b7589302bf6c4183f731cfd202edfd03ffc979
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 10, 2022 https://github.com/microsoft/TypeScript/pull/47337#pullrequestreview-848438050
View reviewed changes https://github.com/microsoft/TypeScript/pull/47337/files/30b7589302bf6c4183f731cfd202edfd03ffc979
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/30b7589302bf6c4183f731cfd202edfd03ffc979#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 10, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r781634342
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
January 10, 2022 14:58https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-28f667d
https://github.com/gabritto
get rid of fourslash testshttps://github.com/microsoft/TypeScript/pull/47337/commits/28f667dd5436e513d7b29a098574844b277486eb
28f667dhttps://github.com/microsoft/TypeScript/pull/47337/commits/28f667dd5436e513d7b29a098574844b277486eb
https://github.com/gabritto
fix caching in checkExpressionCached when checkMode is not normalhttps://github.com/microsoft/TypeScript/pull/47337/commits/23c38be7afab9a87196d2063d120b718dd0eee82
23c38behttps://github.com/microsoft/TypeScript/pull/47337/commits/23c38be7afab9a87196d2063d120b718dd0eee82
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 11, 2022 https://github.com/microsoft/TypeScript/pull/47337#pullrequestreview-848512923
View reviewed changes https://github.com/microsoft/TypeScript/pull/47337/files/23c38be7afab9a87196d2063d120b718dd0eee82
tests/cases/compiler/narrowingDestructuring.tshttps://github.com/microsoft/TypeScript/pull/47337/files/23c38be7afab9a87196d2063d120b718dd0eee82#diff-dc2a326892310811c3f8d0303e847dccd0480815340312fafb607aed380e79e4
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 11, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r781691789
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 11, 2022 https://github.com/microsoft/TypeScript/pull/47337#pullrequestreview-848513300
View reviewed changes https://github.com/microsoft/TypeScript/pull/47337/files/23c38be7afab9a87196d2063d120b718dd0eee82
tests/cases/compiler/narrowingDestructuring.tshttps://github.com/microsoft/TypeScript/pull/47337/files/23c38be7afab9a87196d2063d120b718dd0eee82#diff-dc2a326892310811c3f8d0303e847dccd0480815340312fafb607aed380e79e4
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 11, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r781692076
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Wesley Wigham (weswigham)https://github.com/weswigham
January 11, 2022 01:32https://github.com/microsoft/TypeScript/pull/47337#event-5869868448
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 11, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1009520436
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
January 11, 2022 23:16https://github.com/microsoft/TypeScript/pull/47337#event-5876779974
https://github.com/orta
Orta Therox (orta)https://github.com/orta
Jan 21, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018346374
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 21, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018346405
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Orta Therox (@orta)https://github.com/orta
23c38behttps://github.com/microsoft/TypeScript/commit/23c38be7afab9a87196d2063d120b718dd0eee82
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=118042
The results are in!https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018376519
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 21, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018376519
Orta Therox (@orta)https://github.com/orta
Download Benchmarkhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/118042/artifacts?artifactName=benchmark&fileId=382BFE413A32C86C9005E598412E134DAED36220CF583EF0B9C55D6F07A1B43001&fileName=linux.benchmark
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 21, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018818969
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 21, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018818998
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Gabriela Araujo Britto (@gabritto)https://github.com/gabritto
23c38behttps://github.com/microsoft/TypeScript/commit/23c38be7afab9a87196d2063d120b718dd0eee82
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=118069
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 21, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018830868
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Gabriela Araujo Britto (@gabritto)https://github.com/gabritto
an installable tgzhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/118069/artifacts?artifactName=tgz&fileId=5E7679E65EC7843039E23306BDAFB943423F455FE7823C179CC050430C6167E202&fileName=/typescript-4.6.0-insiders.20220121.tgz
for this buildhttps://www.staging-typescript.org/play?ts=4.6.0-pr-47337-6
npmhttps://www.npmjs.com/package/@typescript-deploys/pr-build/v/4.6.0-pr-47337-6
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
January 21, 2022 12:58https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-aad8852
https://github.com/gabritto
Don't distinguish between object and array rest elementshttps://github.com/microsoft/TypeScript/pull/47337/commits/aad885295cfa22487f9efdcd01a4f0b739daef53
aad8852https://github.com/microsoft/TypeScript/pull/47337/commits/aad885295cfa22487f9efdcd01a4f0b739daef53
https://github.com/gabritto
Merge branch 'main' into gabritto/issue45762https://github.com/microsoft/TypeScript/pull/47337/commits/e8ba399fdc5874424fccf619a454ae20837a0d9a
e8ba399https://github.com/microsoft/TypeScript/pull/47337/commits/e8ba399fdc5874424fccf619a454ae20837a0d9a
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 28, 2022 https://github.com/microsoft/TypeScript/pull/47337#pullrequestreview-866683996
View reviewed changes https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Jan 28, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r794871259
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Feb 8, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r801645748
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Feb 9, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r803057245
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Feb 3, 2022 https://github.com/microsoft/TypeScript/pull/47337#ref-issue-909378935
Type guard of union with conditional type not working since 4.3 #44382 https://github.com/microsoft/TypeScript/issues/44382
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Feb 3, 2022 https://github.com/microsoft/TypeScript/pull/47337#ref-issue-1123573237
Design Meeting Notes, 1/21/2022 #47726 https://github.com/microsoft/TypeScript/issues/47726
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Feb 7, 2022https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1031972850
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Feb 8, 2022 https://github.com/microsoft/TypeScript/pull/47337#pullrequestreview-876047955
View reviewed changes https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
https://github.com/microsoft/TypeScript/pull/47337#pullrequestreview-876047955
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Feb 8, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r801645748
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Feb 8, 2022https://github.com/microsoft/TypeScript/pull/47337#discussion_r801663382
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
February 8, 2022 11:50https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-20bd98c
https://github.com/gabritto
get rid of undefined check modehttps://github.com/microsoft/TypeScript/pull/47337/commits/20bd98c0be810b712643da0632402d706bf9191d
20bd98chttps://github.com/microsoft/TypeScript/pull/47337/commits/20bd98c0be810b712643da0632402d706bf9191d
https://github.com/gabritto
don't make includeOptionality into checkmode flaghttps://github.com/microsoft/TypeScript/pull/47337/commits/6ba2667555b84064fc417176ba405212a1e0ba0e
6ba2667https://github.com/microsoft/TypeScript/pull/47337/commits/6ba2667555b84064fc417176ba405212a1e0ba0e
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
2d0a00dhttps://github.com/microsoft/TypeScript/commit/2d0a00d45739d6344c4996f2b073580570de05e7
Feb 9, 2022https://github.com/microsoft/TypeScript/pull/47337#event-6037130949
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
February 9, 2022 20:25https://github.com/microsoft/TypeScript/pull/47337#event-6037131081
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Feb 14, 2022 https://github.com/microsoft/TypeScript/pull/47337#ref-issue-1134292658
Unable to read properties off object spread in generic function parameter (regression with 4.6.1-rc) #47865 https://github.com/microsoft/TypeScript/issues/47865
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Feb 15, 2022 https://github.com/microsoft/TypeScript/pull/47337#ref-pullrequest-1139136648
Fix incorrect rest element type inside contextually typed parameter #47909 https://github.com/microsoft/TypeScript/pull/47909
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Jul 2, 2025 https://github.com/microsoft/TypeScript/pull/47337#ref-issue-560013379
Narrowed is fail when use as T #36613 https://github.com/microsoft/TypeScript/issues/36613
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/47337#event-20417483109
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%2F47337
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/gabritto
Gabriela Araujo Britto (gabritto) https://github.com/gabritto
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
4.4 regression: in operator does not narrow types in generic constraints when destructuring https://github.com/microsoft/TypeScript/issues/45762
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47337
https://github.com/gabritto
https://github.com/orta
https://github.com/typescript-bot
https://github.com/RyanCavanaugh
https://github.com/ahejlsberg
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.