| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f00e17a0-6146-c164-55ee-c8c5f20c9cd1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C9E0:117C62:190B156:215E881:6B015130 |
| html-safe-nonce | 456fe2a51cd849978482bc92402eb40c801390da00c85eb67a1fa1daba49cd6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUUwOjExN0M2MjoxOTBCMTU2OjIxNUU4ODE6NkIwMTUxMzAiLCJ2aXNpdG9yX2lkIjoiNTMwMzIxNDA3NDU3Njg1MTI0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f0ab9af42329d9fb5e91ad1fbfa3b18a2cf82952a903c9400d942562accd892 |
| hovercard-subject-tag | pull_request:815847288 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/47337/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/026a6570f6f16e41a98c695ebfc7f1792f01dd69d1a11b6ba975a95df246e6db/microsoft/TypeScript/pull/47337 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/026a6570f6f16e41a98c695ebfc7f1792f01dd69d1a11b6ba975a95df246e6db/microsoft/TypeScript/pull/47337 |
| og:image:alt | 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, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gabritto |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/47337#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47337 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47337 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/pull/47337 |
| Reload | https://github.com/microsoft/TypeScript/pull/47337 |
| Reload | https://github.com/microsoft/TypeScript/pull/47337 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests312 (312) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| main | https://github.com/microsoft/TypeScript/tree/main |
| gabritto/issue45762 | https://github.com/microsoft/TypeScript/tree/gabritto/issue45762 |
| Conversation | https://github.com/microsoft/TypeScript/pull/47337 |
| Commits17 (17) | https://github.com/microsoft/TypeScript/pull/47337/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/47337/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/47337/files |
| Fix destructuring and narrowing interaction | https://github.com/microsoft/TypeScript/pull/47337#top |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| main | https://github.com/microsoft/TypeScript/tree/main |
| gabritto/issue45762 | https://github.com/microsoft/TypeScript/tree/gabritto/issue45762 |
|
| https://github.com/gabritto |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 6, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issue-1095701751 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| #45762 | https://github.com/microsoft/TypeScript/issues/45762 |
| #43183 | https://github.com/microsoft/TypeScript/pull/43183 |
| #43941 | https://github.com/microsoft/TypeScript/issues/43941 |
| #43941 | https://github.com/microsoft/TypeScript/issues/43941 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| December 13, 2021 17:32 | https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-e9b9f2d |
|
| https://github.com/gabritto |
| WIP: pass in checkmode to getNarrowableTypeForReference | https://github.com/microsoft/TypeScript/pull/47337/commits/e9b9f2d1631ea686c8952e8599f068d7c271fa9d |
| e9b9f2d | https://github.com/microsoft/TypeScript/pull/47337/commits/e9b9f2d1631ea686c8952e8599f068d7c271fa9d |
|
| https://github.com/gabritto |
| add tests | https://github.com/microsoft/TypeScript/pull/47337/commits/a89fa722e7449dfcd573182d6bfdb4a00a093b4c |
| a89fa72 | https://github.com/microsoft/TypeScript/pull/47337/commits/a89fa722e7449dfcd573182d6bfdb4a00a093b4c |
|
| https://github.com/gabritto |
| Merge branch 'main' into gabritto/issue45762 | https://github.com/microsoft/TypeScript/pull/47337/commits/b4eab713abc6bee0f3d67fde1505e9d18df3138d |
| b4eab71 | https://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, 2022 | https://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, 2022 | https://github.com/microsoft/TypeScript/pull/47337#event-5854588032 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| January 6, 2022 16:20 | https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-789c249 |
|
| https://github.com/gabritto |
| another pass through new check mode argument | https://github.com/microsoft/TypeScript/pull/47337/commits/789c249981e1a519e0062a751e0b9ccb3eec2c20 |
| 789c249 | https://github.com/microsoft/TypeScript/pull/47337/commits/789c249981e1a519e0062a751e0b9ccb3eec2c20 |
|
| https://github.com/gabritto |
| rename new check mode | https://github.com/microsoft/TypeScript/pull/47337/commits/167542215b09359559588c3a064a5788415e789c |
| 1675422 | https://github.com/microsoft/TypeScript/pull/47337/commits/167542215b09359559588c3a064a5788415e789c |
|
| https://github.com/gabritto |
| only use rest flag for rest elements in objects | https://github.com/microsoft/TypeScript/pull/47337/commits/e38503817241cec37f80da430ce5333a480fe5ca |
| e385038 | https://github.com/microsoft/TypeScript/pull/47337/commits/e38503817241cec37f80da430ce5333a480fe5ca |
|
| https://github.com/gabritto |
| add and update tests | https://github.com/microsoft/TypeScript/pull/47337/commits/a831ccd6f63b841dcb9b93741532c83da947efa9 |
| a831ccd | https://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, 2022 | https://github.com/microsoft/TypeScript/pull/47337#event-5869029714 |
| https://github.com/gabritto |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 10, 2022 | https://github.com/microsoft/TypeScript/pull/47337#event-5869030796 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| January 10, 2022 14:02 | https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-16c8a2d |
|
| https://github.com/gabritto |
| Merge branch 'main' into gabritto/issue45762 | https://github.com/microsoft/TypeScript/pull/47337/commits/16c8a2d176b350d23a7d6ee14f9f4bf1495a666e |
| 16c8a2d | https://github.com/microsoft/TypeScript/pull/47337/commits/16c8a2d176b350d23a7d6ee14f9f4bf1495a666e |
|
| https://github.com/gabritto |
| change check mode flag name | https://github.com/microsoft/TypeScript/pull/47337/commits/68276e4e050f2efe54be7c1dbb0b565cf591c1ba |
| 68276e4 | https://github.com/microsoft/TypeScript/pull/47337/commits/68276e4e050f2efe54be7c1dbb0b565cf591c1ba |
|
| https://github.com/gabritto |
| restore package-lock.json | https://github.com/microsoft/TypeScript/pull/47337/commits/53834545f0d9b959eae19e117030968c5478f7d4 |
| 5383454 | https://github.com/microsoft/TypeScript/pull/47337/commits/53834545f0d9b959eae19e117030968c5478f7d4 |
|
| https://github.com/gabritto |
| fix comments | https://github.com/microsoft/TypeScript/pull/47337/commits/30b7589302bf6c4183f731cfd202edfd03ffc979 |
| 30b7589 | https://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.ts | https://github.com/microsoft/TypeScript/pull/47337/files/30b7589302bf6c4183f731cfd202edfd03ffc979#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 10, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r781634342 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| January 10, 2022 14:58 | https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-28f667d |
|
| https://github.com/gabritto |
| get rid of fourslash tests | https://github.com/microsoft/TypeScript/pull/47337/commits/28f667dd5436e513d7b29a098574844b277486eb |
| 28f667d | https://github.com/microsoft/TypeScript/pull/47337/commits/28f667dd5436e513d7b29a098574844b277486eb |
|
| https://github.com/gabritto |
| fix caching in checkExpressionCached when checkMode is not normal | https://github.com/microsoft/TypeScript/pull/47337/commits/23c38be7afab9a87196d2063d120b718dd0eee82 |
| 23c38be | https://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.ts | https://github.com/microsoft/TypeScript/pull/47337/files/23c38be7afab9a87196d2063d120b718dd0eee82#diff-dc2a326892310811c3f8d0303e847dccd0480815340312fafb607aed380e79e4 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 11, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r781691789 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://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.ts | https://github.com/microsoft/TypeScript/pull/47337/files/23c38be7afab9a87196d2063d120b718dd0eee82#diff-dc2a326892310811c3f8d0303e847dccd0480815340312fafb607aed380e79e4 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 11, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r781692076 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://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:32 | https://github.com/microsoft/TypeScript/pull/47337#event-5869868448 |
| https://github.com/gabritto |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 11, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1009520436 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| https://github.com/gabritto |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| January 11, 2022 23:16 | https://github.com/microsoft/TypeScript/pull/47337#event-5876779974 |
| https://github.com/orta |
| Orta Therox (orta) | https://github.com/orta |
| Jan 21, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018346374 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jan 21, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018346405 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Orta Therox (@orta) | https://github.com/orta |
| 23c38be | https://github.com/microsoft/TypeScript/commit/23c38be7afab9a87196d2063d120b718dd0eee82 |
| here | https://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 page | https://github.com/microsoft/TypeScript/pull/47337 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jan 21, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018376519 |
| Orta Therox (@orta) | https://github.com/orta |
| Download Benchmark | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/118042/artifacts?artifactName=benchmark&fileId=382BFE413A32C86C9005E598412E134DAED36220CF583EF0B9C55D6F07A1B43001&fileName=linux.benchmark |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| https://github.com/gabritto |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 21, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018818969 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jan 21, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018818998 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Gabriela Araujo Britto (@gabritto) | https://github.com/gabritto |
| 23c38be | https://github.com/microsoft/TypeScript/commit/23c38be7afab9a87196d2063d120b718dd0eee82 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=118069 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jan 21, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1018830868 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Gabriela Araujo Britto (@gabritto) | https://github.com/gabritto |
| an installable tgz | https://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 build | https://www.staging-typescript.org/play?ts=4.6.0-pr-47337-6 |
| npm | https://www.npmjs.com/package/@typescript-deploys/pr-build/v/4.6.0-pr-47337-6 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| January 21, 2022 12:58 | https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-aad8852 |
|
| https://github.com/gabritto |
| Don't distinguish between object and array rest elements | https://github.com/microsoft/TypeScript/pull/47337/commits/aad885295cfa22487f9efdcd01a4f0b739daef53 |
| aad8852 | https://github.com/microsoft/TypeScript/pull/47337/commits/aad885295cfa22487f9efdcd01a4f0b739daef53 |
|
| https://github.com/gabritto |
| Merge branch 'main' into gabritto/issue45762 | https://github.com/microsoft/TypeScript/pull/47337/commits/e8ba399fdc5874424fccf619a454ae20837a0d9a |
| e8ba399 | https://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.ts | https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Jan 28, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r794871259 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Feb 8, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r801645748 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| Feb 9, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r803057245 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://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, 2022 | https://github.com/microsoft/TypeScript/pull/47337#issuecomment-1031972850 |
| Anders Hejlsberg (@ahejlsberg) | https://github.com/ahejlsberg |
| Please reload this page | https://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 more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Feb 8, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r801645748 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Feb 8, 2022 | https://github.com/microsoft/TypeScript/pull/47337#discussion_r801663382 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/47337/files/e8ba399fdc5874424fccf619a454ae20837a0d9a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/47337 |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| February 8, 2022 11:50 | https://github.com/microsoft/TypeScript/pull/47337#commits-pushed-20bd98c |
|
| https://github.com/gabritto |
| get rid of undefined check mode | https://github.com/microsoft/TypeScript/pull/47337/commits/20bd98c0be810b712643da0632402d706bf9191d |
| 20bd98c | https://github.com/microsoft/TypeScript/pull/47337/commits/20bd98c0be810b712643da0632402d706bf9191d |
|
| https://github.com/gabritto |
| don't make includeOptionality into checkmode flag | https://github.com/microsoft/TypeScript/pull/47337/commits/6ba2667555b84064fc417176ba405212a1e0ba0e |
| 6ba2667 | https://github.com/microsoft/TypeScript/pull/47337/commits/6ba2667555b84064fc417176ba405212a1e0ba0e |
| https://github.com/gabritto |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| 2d0a00d | https://github.com/microsoft/TypeScript/commit/2d0a00d45739d6344c4996f2b073580570de05e7 |
| Feb 9, 2022 | https://github.com/microsoft/TypeScript/pull/47337#event-6037130949 |
| https://github.com/gabritto |
| Gabriela Araujo Britto (gabritto) | https://github.com/gabritto |
| February 9, 2022 20:25 | https://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, 2025 | https://github.com/microsoft/TypeScript/pull/47337#event-20417483109 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://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 page | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |