| 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:b740ad10-50d0-f9c9-8ce6-8f7d0395d64c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ECF0:EA09B:ED94B7:13BB5CA:6B010939 |
| html-safe-nonce | c1313c1baedf4401416a4bc8a16a703fe3090418a7bc3fc4ec4b9eaee382682c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0YwOkVBMDlCOkVEOTRCNzoxM0JCNUNBOjZCMDEwOTM5IiwidmlzaXRvcl9pZCI6IjYwMDc5NzAxMDg1MTE2ODQ5MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b3f6be5d230537b566207192f0d6f1f5d9e119144944a8fac85cc174608b9f75 |
| hovercard-subject-tag | pull_request:1744088923 |
| 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/57552/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ec6518b6d8753e2808f2cd8308f93e90bacc88f267887e34d83f4d888e5fc291/microsoft/TypeScript/pull/57552 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec6518b6d8753e2808f2cd8308f93e90bacc88f267887e34d83f4d888e5fc291/microsoft/TypeScript/pull/57552 |
| og:image:alt | Variant on #57465 with tighter rules for inference:
Must have exactly one parameter
Must be an expression-bodied function, or have a body consisting of a single return with expression
May be a get... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RyanCavanaugh |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/57552#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F57552 |
| 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%2F57552 |
| 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/57552 |
| Reload | https://github.com/microsoft/TypeScript/pull/57552 |
| Reload | https://github.com/microsoft/TypeScript/pull/57552 |
| 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 requests309 (309) | 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 |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| RyanCavanaugh:singleExprOnlyPredicates | https://github.com/RyanCavanaugh/TypeScript/tree/singleExprOnlyPredicates |
| Conversation | https://github.com/microsoft/TypeScript/pull/57552 |
| Commits14 (14) | https://github.com/microsoft/TypeScript/pull/57552/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/57552/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/57552/files |
| Single-expression only type predicates | https://github.com/microsoft/TypeScript/pull/57552#top |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| RyanCavanaugh:singleExprOnlyPredicates | https://github.com/RyanCavanaugh/TypeScript/tree/singleExprOnlyPredicates |
|
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issue-2154927229 |
| #57465 | https://github.com/microsoft/TypeScript/pull/57465 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| Dan Vanderkam (danvk) | https://github.com/danvk |
| February 20, 2024 17:32 | https://github.com/microsoft/TypeScript/pull/57552#commits-pushed-0c24ccc |
|
| https://github.com/danvk |
| Infer type predicates from function bodies | https://github.com/microsoft/TypeScript/pull/57552/commits/0c24ccc049cf0b9bbac8a0ac4f3debe768b5c1ca |
| 0c24ccc | https://github.com/microsoft/TypeScript/pull/57552/commits/0c24ccc049cf0b9bbac8a0ac4f3debe768b5c1ca |
|
| https://github.com/danvk |
| Run formatter | https://github.com/microsoft/TypeScript/pull/57552/commits/e2684f128975dac725f4af4f9e6f03d4e765cfbe |
| e2684f1 | https://github.com/microsoft/TypeScript/pull/57552/commits/e2684f128975dac725f4af4f9e6f03d4e765cfbe |
|
| https://github.com/danvk |
| Add secondary subtype check and tests | https://github.com/microsoft/TypeScript/pull/57552/commits/101df932d52904065eaec051239d25d7b2c40a5e |
| 101df93 | https://github.com/microsoft/TypeScript/pull/57552/commits/101df932d52904065eaec051239d25d7b2c40a5e |
|
| https://github.com/danvk |
| add union type test to baselines | https://github.com/microsoft/TypeScript/pull/57552/commits/d0e385e8c781be33d05aaeccc7dcb594d230c296 |
| d0e385e | https://github.com/microsoft/TypeScript/pull/57552/commits/d0e385e8c781be33d05aaeccc7dcb594d230c296 |
|
| https://github.com/danvk |
| add prisma circularity test with failing baseline | https://github.com/microsoft/TypeScript/pull/57552/commits/a72b1f17439f50a16b3b1ad162c6735f6e2b8db3 |
| a72b1f1 | https://github.com/microsoft/TypeScript/pull/57552/commits/a72b1f17439f50a16b3b1ad162c6735f6e2b8db3 |
|
| https://github.com/danvk |
| Various fixes for circularity issue | https://github.com/microsoft/TypeScript/pull/57552/commits/ef2d4650473493b3f26a0b06dfa6fba1135b1dfe |
| ef2d465 | https://github.com/microsoft/TypeScript/pull/57552/commits/ef2d4650473493b3f26a0b06dfa6fba1135b1dfe |
|
| https://github.com/danvk |
| circularity test is fixed | https://github.com/microsoft/TypeScript/pull/57552/commits/933605267cc9da80babde89c10acff3247ebe6b4 |
| 9336052 | https://github.com/microsoft/TypeScript/pull/57552/commits/933605267cc9da80babde89c10acff3247ebe6b4 |
|
| https://github.com/danvk |
| revert back to CheckMode.TypeOnly | https://github.com/microsoft/TypeScript/pull/57552/commits/41f624d67eaf81702d79a5077fc559f4fdb22121 |
| 41f624d | https://github.com/microsoft/TypeScript/pull/57552/commits/41f624d67eaf81702d79a5077fc559f4fdb22121 |
|
| https://github.com/danvk |
| Add test case for a predicate that throws | https://github.com/microsoft/TypeScript/pull/57552/commits/52df1158d9497a449c79943c9956e9a1b5719768 |
| 52df115 | https://github.com/microsoft/TypeScript/pull/57552/commits/52df1158d9497a449c79943c9956e9a1b5719768 |
|
| https://github.com/danvk |
| Drop isTriviallyNonBoolean, switch to simpler test, check for assertions | https://github.com/microsoft/TypeScript/pull/57552/commits/3ab6faef39b67169ff4cab5fc96a467bf81b2eb1 |
| 3ab6fae | https://github.com/microsoft/TypeScript/pull/57552/commits/3ab6faef39b67169ff4cab5fc96a467bf81b2eb1 |
|
| https://github.com/RyanCavanaugh |
| Tighten bounds on what kinds of functions can be inferred predicates | https://github.com/microsoft/TypeScript/pull/57552/commits/00501f290509b43ddc3544fc0221dc017f478b75 |
| 00501f2 | https://github.com/microsoft/TypeScript/pull/57552/commits/00501f290509b43ddc3544fc0221dc017f478b75 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#event-11926401718 |
| 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 |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#event-11926401938 |
|
| https://github.com/RyanCavanaugh |
| f o r m a t | https://github.com/microsoft/TypeScript/pull/57552/commits/49702496f4e1ba4d2fa9e85606c196642aa74951 |
| 4970249 | https://github.com/microsoft/TypeScript/pull/57552/commits/49702496f4e1ba4d2fa9e85606c196642aa74951 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965034221 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965034380 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| 4970249 | https://github.com/microsoft/TypeScript/commit/49702496f4e1ba4d2fa9e85606c196642aa74951 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=160063 |
| The results are in! | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965186448 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965186448 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Download Benchmarks | https://typescript.visualstudio.com/TypeScript/_build/results?buildId=160063&view=artifacts |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
|
| https://github.com/RyanCavanaugh |
| Slight rearrange | https://github.com/microsoft/TypeScript/pull/57552/commits/29cdadc206be5c9290ea33cf1985d93961a2473b |
| 29cdadc | https://github.com/microsoft/TypeScript/pull/57552/commits/29cdadc206be5c9290ea33cf1985d93961a2473b |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965215515 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965215606 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| 29cdadc | https://github.com/microsoft/TypeScript/commit/29cdadc206be5c9290ea33cf1985d93961a2473b |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=160066 |
| The results are in! | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965320091 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/danvk |
| Dan Vanderkam (danvk) | https://github.com/danvk |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965233405 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| danvk/TypeScript@infer-type-predicate-16069...danvk:TypeScript:ablation-2024-02-26 | https://github.com/danvk/TypeScript/compare/infer-type-predicate-16069...danvk:TypeScript:ablation-2024-02-26 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965237652 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965320091 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Download Benchmarks | https://typescript.visualstudio.com/TypeScript/_build/results?buildId=160066&view=artifacts |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
|
| https://github.com/RyanCavanaugh |
| No-op to see detection cost | https://github.com/microsoft/TypeScript/pull/57552/commits/466e1868062258d3117eb4125ad2aeb5edc1ccd2 |
| 466e186 | https://github.com/microsoft/TypeScript/pull/57552/commits/466e1868062258d3117eb4125ad2aeb5edc1ccd2 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965326486 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965326638 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965326721 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| 466e186 | https://github.com/microsoft/TypeScript/commit/466e1868062258d3117eb4125ad2aeb5edc1ccd2 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=160069 |
| The results are in! | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965416634 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/danvk |
| Dan Vanderkam (danvk) | https://github.com/danvk |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965373678 |
| #54148 | https://github.com/microsoft/TypeScript/pull/54148 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Feb 26, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965416634 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Download Benchmarks | https://typescript.visualstudio.com/TypeScript/_build/results?buildId=160069&view=artifacts |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/bradzacher |
| Brad Zacher (bradzacher) | https://github.com/bradzacher |
| Feb 27, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1965983413 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| on twitter | https://twitter.com/bradzacher/status/1760414631548653729 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/danvk |
| Dan Vanderkam (danvk) | https://github.com/danvk |
|
Feb 27, 2024
| https://github.com/microsoft/TypeScript/pull/57552#ref-pullrequest-2147194585 |
|
Infer type predicates from function bodies using control flow analysis
#57465
| https://github.com/microsoft/TypeScript/pull/57465 |
| https://github.com/danvk |
| Dan Vanderkam (danvk) | https://github.com/danvk |
| Feb 27, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1966857623 |
| on twitter | https://twitter.com/bradzacher/status/1760414631548653729 |
| Infer type predicates from function bodies using control flow analysis #57465 | https://github.com/microsoft/TypeScript/pull/57465 |
| Suggestion: one-sided or fine-grained type guards #15048 | https://github.com/microsoft/TypeScript/issues/15048 |
| Infer type predicates from function bodies using control flow analysis #57465 | https://github.com/microsoft/TypeScript/pull/57465 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 27, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1967265484 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/bradzacher |
| Brad Zacher (bradzacher) | https://github.com/bradzacher |
| Feb 27, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1967554421 |
| TS style type guard annotations now | https://flow.org/en/docs/types/type-guards/ |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Feb 27, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1967572419 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/craigphicks |
| Craig P Hicks (craigphicks) | https://github.com/craigphicks |
| Mar 9, 2024 | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1986861464 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| Brad Zacher (@bradzacher) | https://github.com/bradzacher |
| There's probably some scope for a lint rule to catch it (though it'd be a first of its kind and I'm not sure if it's fully possible) but it'd be cool if TS had more advanced rules. | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1967554421 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| People might not realize they're exporting a type predicate and it might not be their intent. | https://github.com/microsoft/TypeScript/pull/57552#issuecomment-1967572419 |
| #57465 | https://github.com/microsoft/TypeScript/pull/57465 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Mar 11, 2024 | https://github.com/microsoft/TypeScript/pull/57552#event-12077833739 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Oct 16, 2025 | https://github.com/microsoft/TypeScript/pull/57552#event-20323076158 |
| 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%2F57552 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
|
| https://github.com/RyanCavanaugh |
|
Ryan Cavanaugh (RyanCavanaugh)
| https://github.com/RyanCavanaugh |
|
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 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/57552 |
|
| https://github.com/RyanCavanaugh |
|
| https://github.com/typescript-bot |
|
| https://github.com/danvk |
|
| https://github.com/bradzacher |
|
| https://github.com/craigphicks |
|
| 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 |