René's URL Explorer Experiment


Title: Infer type predicates from function bodies using control flow analysis by danvk · Pull Request #57465 · microsoft/TypeScript · GitHub

Open Graph Title: Infer type predicates from function bodies using control flow analysis by danvk · Pull Request #57465 · microsoft/TypeScript

X Title: Infer type predicates from function bodies using control flow analysis by danvk · Pull Request #57465 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Infer type predicates from function bodies using control flow analysis by danvk · Pull Request #57465 · microsoft/TypeScript

Open Graph Description: Fixes #16069 Fixes #38390 Fixes #10734 Fixes #50734 Fixes #12798 This PR uses the TypeScript's existing control flow analysis to infer type predicates for boolean-returning functions where appr...

X Description: Fixes #16069 Fixes #38390 Fixes #10734 Fixes #50734 Fixes #12798 This PR uses the TypeScript's existing control flow analysis to infer type predicates for boolean-returning functions where ...

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

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:9452f221-4014-ab67-4d78-d60df44f53c6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9886:2E5652:7DAE8C:A17540:6B00E76E
html-safe-nonce1fc054b0c064bf5e1f3c96b6e499211d7eb1b7053626dba714e8013765fe02d6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODg2OjJFNTY1Mjo3REFFOEM6QTE3NTQwOjZCMDBFNzZFIiwidmlzaXRvcl9pZCI6Ijg2MDU0MDMwMTcyOTYwMTMxNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac48bc443155aa488db5ed5339abe97c75d0a7f31dbd6fdca744a02607ace8b057
hovercard-subject-tagpull_request:1737231332
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/57465/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ec6518b6d8753e2808f2cd8308f93e90bacc88f267887e34d83f4d888e5fc291/microsoft/TypeScript/pull/57465
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ec6518b6d8753e2808f2cd8308f93e90bacc88f267887e34d83f4d888e5fc291/microsoft/TypeScript/pull/57465
og:image:altFixes #16069 Fixes #38390 Fixes #10734 Fixes #50734 Fixes #12798 This PR uses the TypeScript's existing control flow analysis to infer type predicates for boolean-returning functions where appr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanvk
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/57465#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F57465
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%2F57465
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/57465
Reloadhttps://github.com/microsoft/TypeScript/pull/57465
Reloadhttps://github.com/microsoft/TypeScript/pull/57465
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)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
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
danvk:infer-type-predicate-16069https://github.com/danvk/TypeScript/tree/infer-type-predicate-16069
Conversationhttps://github.com/microsoft/TypeScript/pull/57465
Commits43 (43)https://github.com/microsoft/TypeScript/pull/57465/commits
Checkshttps://github.com/microsoft/TypeScript/pull/57465/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/57465/files
Infer type predicates from function bodies using control flow analysishttps://github.com/microsoft/TypeScript/pull/57465#top
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
danvk:infer-type-predicate-16069https://github.com/danvk/TypeScript/tree/infer-type-predicate-16069
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issue-2147194585
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
#16069https://github.com/microsoft/TypeScript/issues/16069
#38390https://github.com/microsoft/TypeScript/issues/38390
#10734https://github.com/microsoft/TypeScript/issues/10734
#50734https://github.com/microsoft/TypeScript/issues/50734
#12798https://github.com/microsoft/TypeScript/issues/12798
https://private-user-images.githubusercontent.com/98301/306432834-993a0606-e220-4565-be79-77cca9d3020c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyMjE2NTksIm5iZiI6MTc5NTIyMTM1OSwicGF0aCI6Ii85ODMwMS8zMDY0MzI4MzQtOTkzYTA2MDYtZTIyMC00NTY1LWJlNzktNzdjY2E5ZDMwMjBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDAwMzU1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3NWI1Zjk1MzRlMjExNjI2MDFhNTYwYWZhZDYwYjA1NTY1NzhhNWUwOTAzNGZlMWNhYzhhZjNlNWRlNmExYTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.HVApLHVabIdBFYyJAfD92JoP9ss7_dDqUQq0KNZAuoc
#16069https://github.com/microsoft/TypeScript/issues/16069
problems with subtypeshttps://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957867140
#15048https://github.com/microsoft/TypeScript/issues/15048
this commenthttps://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957751656
#38390 (comment)https://github.com/microsoft/TypeScript/issues/38390#issuecomment-626019466
this commenthttps://github.com/microsoft/TypeScript/pull/57465#issuecomment-1960271216
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
foundhttps://github.com/microsoft/TypeScript/pull/57465#issuecomment-1964484345
Infer AssertsIdentifier type predicates #58495https://github.com/microsoft/TypeScript/pull/58495
Suggestion: one-sided or fine-grained type guards #15048https://github.com/microsoft/TypeScript/issues/15048
Infer type predicates for functions with multiple returns #58154https://github.com/microsoft/TypeScript/pull/58154
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
Infer type predicates from function bodieshttps://github.com/microsoft/TypeScript/pull/57465/commits/0c24ccc049cf0b9bbac8a0ac4f3debe768b5c1ca
0c24ccchttps://github.com/microsoft/TypeScript/pull/57465/commits/0c24ccc049cf0b9bbac8a0ac4f3debe768b5c1ca
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#event-11879068465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957212466
#16069https://github.com/microsoft/TypeScript/issues/16069
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
Run formatterhttps://github.com/microsoft/TypeScript/pull/57465/commits/e2684f128975dac725f4af4f9e6f03d4e765cfbe
e2684f1https://github.com/microsoft/TypeScript/pull/57465/commits/e2684f128975dac725f4af4f9e6f03d4e765cfbe
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024 https://github.com/microsoft/TypeScript/pull/57465#pullrequestreview-1893832143
View reviewed changes https://github.com/microsoft/TypeScript/pull/57465/files/e2684f128975dac725f4af4f9e6f03d4e765cfbe
Dan Vanderkam (danvk)https://github.com/danvk
https://github.com/microsoft/TypeScript/pull/57465#pullrequestreview-1893832143
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/57465/files/e2684f128975dac725f4af4f9e6f03d4e765cfbe#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
tests/baselines/reference/javascriptThisAssignmentInStaticBlock.errors.txthttps://github.com/microsoft/TypeScript/pull/57465/files/e2684f128975dac725f4af4f9e6f03d4e765cfbe#diff-0d5d25295006c06935f77809faefa7a78ec08740648f6d101fe1f9d4a6dbf9bc
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#discussion_r1497931353
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
tests/baselines/reference/inferTypePredicates.typeshttps://github.com/microsoft/TypeScript/pull/57465/files/e2684f128975dac725f4af4f9e6f03d4e765cfbe#diff-44ad09aa105339f26985286c00c04df4bdf36c1f44bcee67629d0b4a42e7512e
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#discussion_r1497933806
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/57465/files/e2684f128975dac725f4af4f9e6f03d4e765cfbe#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
tests/cases/fourslash/thisPredicateFunctionQuickInfo.tshttps://github.com/microsoft/TypeScript/pull/57465/files/e2684f128975dac725f4af4f9e6f03d4e765cfbe#diff-202444be8fe4f45a5ff44f7eed8218518025409bfa52a284c193c361495293dd
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#discussion_r1497936841
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957348059
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957348235
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e2684f1https://github.com/microsoft/TypeScript/commit/e2684f128975dac725f4af4f9e6f03d4e765cfbe
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159962
The results are in!https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957497813
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957394162
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957497813
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=159962&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957751656
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Bruce Pascoe (@fatcerberus)https://github.com/fatcerberus
#38390 (comment)https://github.com/microsoft/TypeScript/issues/38390#issuecomment-626019466
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957780248
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957781637
Bruce Pascoe (@fatcerberus)https://github.com/fatcerberus
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957793413
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957867140
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Dan Vanderkam (danvk)https://github.com/danvk
February 21, 2024 16:16https://github.com/microsoft/TypeScript/pull/57465#commits-pushed-101df93
https://github.com/danvk
Add secondary subtype check and testshttps://github.com/microsoft/TypeScript/pull/57465/commits/101df932d52904065eaec051239d25d7b2c40a5e
101df93https://github.com/microsoft/TypeScript/pull/57465/commits/101df932d52904065eaec051239d25d7b2c40a5e
https://github.com/danvk
add union type test to baselineshttps://github.com/microsoft/TypeScript/pull/57465/commits/d0e385e8c781be33d05aaeccc7dcb594d230c296
d0e385ehttps://github.com/microsoft/TypeScript/pull/57465/commits/d0e385e8c781be33d05aaeccc7dcb594d230c296
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958240165
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
tested earlierhttps://github.com/microsoft/TypeScript/pull/57465#issuecomment-1957497813
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958243367
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958243510
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Jake Bailey (@jakebailey)https://github.com/jakebailey
d0e385ehttps://github.com/microsoft/TypeScript/commit/d0e385e8c781be33d05aaeccc7dcb594d230c296
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159974
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958243512
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Jake Bailey (@jakebailey)https://github.com/jakebailey
d0e385ehttps://github.com/microsoft/TypeScript/commit/d0e385e8c781be33d05aaeccc7dcb594d230c296
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159977
The results are in!https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958301048
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958243513
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Jake Bailey (@jakebailey)https://github.com/jakebailey
d0e385ehttps://github.com/microsoft/TypeScript/commit/d0e385e8c781be33d05aaeccc7dcb594d230c296
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159976
The results are in!https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958459031
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958243516
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Jake Bailey (@jakebailey)https://github.com/jakebailey
d0e385ehttps://github.com/microsoft/TypeScript/commit/d0e385e8c781be33d05aaeccc7dcb594d230c296
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159975
The results are in!https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958371500
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958243517
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Jake Bailey (@jakebailey)https://github.com/jakebailey
d0e385ehttps://github.com/microsoft/TypeScript/commit/d0e385e8c781be33d05aaeccc7dcb594d230c296
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159978
The results are in!https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958341465
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958249740
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Jake Bailey (@jakebailey)https://github.com/jakebailey
an installable tgzhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/159974/artifacts?artifactName=tgz&fileId=6697AFDD16758083B1CD91AF9516D7A3DB7DCC2B13099E445566B57CD913996302&fileName=/typescript-5.5.0-insiders.20240221.tgz
for this buildhttps://www.staging-typescript.org/play?ts=5.5.0-pr-57465-17
npmhttps://www.npmjs.com/package/@typescript-deploys/pr-build/v/5.5.0-pr-57465-17
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958301048
Jake Bailey (@jakebailey)https://github.com/jakebailey
follow-redirectshttps://github.com/microsoft/TypeScript/pull/57465
puppeteerhttps://github.com/GoogleChrome/puppeteer.git
packages/browsers/test/src/tsconfig.jsonhttps://github.com/GoogleChrome/puppeteer/blob/ceab7a9042fe5fc3f71875e75327bb370f1c43a5/packages/browsers/test/src/tsconfig.json
packages/browsers/test/src/utils.ts#L13https://github.com/GoogleChrome/puppeteer/blob/ceab7a9042fe5fc3f71875e75327bb370f1c43a5/packages/browsers/test/src/utils.ts#L13
packages/browsers/test/src/tsconfig.jsonhttps://github.com/GoogleChrome/puppeteer/blob/ceab7a9042fe5fc3f71875e75327bb370f1c43a5/packages/browsers/test/src/tsconfig.json
pyrighthttps://github.com/microsoft/TypeScript/pull/57465
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958341465
Jake Bailey (@jakebailey)https://github.com/jakebailey
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=159978&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 21, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958371500
Jake Bailey (@jakebailey)https://github.com/jakebailey
You can check the log herehttps://typescript.visualstudio.com/TypeScript/_build/index?buildId=159975&_a=summary
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958459031
Jake Bailey (@jakebailey)https://github.com/jakebailey
microsoft/vscodehttps://github.com/microsoft/vscode
src/tsconfig.jsonhttps://github.com/microsoft/vscode/blob/4665ce61312f31f22607b5c72a4492b5ecaf7a98/src/tsconfig.json
src/vs/workbench/contrib/chat/browser/chatWidget.ts#L240https://github.com/microsoft/vscode/blob/4665ce61312f31f22607b5c72a4492b5ecaf7a98/src/vs/workbench/contrib/chat/browser/chatWidget.ts#L240
src/tsconfig.tsec.jsonhttps://github.com/microsoft/vscode/blob/4665ce61312f31f22607b5c72a4492b5ecaf7a98/src/tsconfig.tsec.json
src/vs/workbench/contrib/chat/browser/chatWidget.ts#L240https://github.com/microsoft/vscode/blob/4665ce61312f31f22607b5c72a4492b5ecaf7a98/src/vs/workbench/contrib/chat/browser/chatWidget.ts#L240
prisma/prismahttps://github.com/prisma/prisma
packages/client/tsconfig.build.jsonhttps://github.com/prisma/prisma/blob/a4ca09f1aab16b01727a9af3824d9a4c70a71c46/packages/client/tsconfig.build.json
packages/client/src/runtime/core/model/applyModelsAndClientExtensions.ts#L25https://github.com/prisma/prisma/blob/a4ca09f1aab16b01727a9af3824d9a4c70a71c46/packages/client/src/runtime/core/model/applyModelsAndClientExtensions.ts#L25
packages/client/src/runtime/core/model/applyModelsAndClientExtensions.ts#L38https://github.com/prisma/prisma/blob/a4ca09f1aab16b01727a9af3824d9a4c70a71c46/packages/client/src/runtime/core/model/applyModelsAndClientExtensions.ts#L38
packages/client/src/runtime/getPrismaClient.ts#L314https://github.com/prisma/prisma/blob/a4ca09f1aab16b01727a9af3824d9a4c70a71c46/packages/client/src/runtime/getPrismaClient.ts#L314
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/JesusTheHun
Jonathan MASSUCHETTI (JesusTheHun)https://github.com/JesusTheHun
Feb 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1958497881
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/NWYLZW
YiJie (NWYLZW)https://github.com/NWYLZW
Feb 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-1959011646
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
playgroundhttps://www.typescriptlang.org/play#code/MYewdgzgLgBGJQLIEMrABYFMAmAuGArmAJYCOBmMEAngLYBGIANjALwwDKdjTAFAOTwkqDDn4BKAFAAzIsCjFwMYhADq6VAB4AkmAAOBWOyIBreAHcwAGhgAVNnEwA3TACcAfL0kwYtEenxeYn1DfF0DKBsAfXwoaj1MEGk4BBQ0LGxxNnc7GAAfGDiEpJThdJxJcUDvGF4ADzCQqCzWHLrlCBgAbVsAXRhMOqhMMGxOrvDDfoB+GEnYADJc-DBnN0qYAG8a10woAlcwWvr8ZDBqKphGZkwz7K2anyhXagefd5hd-cPff3qbIRpUSZGAAQlY7EB-gqHwAvjBgP5apgstsPj5iMleF0oeVsDYnCBiNgYAAGAEEJhMGy2eKYACirlcIFcvQAdMFgEwCNhMBBeJRkJ0zhdUY90V8DkdpMgmBBMOKfLDFYV0MzzANxcqlVkhTARZJlZJQJBYNBXBBSQ4ugBGGz8G38GzPCjs6TEJjDVxeAD0Po+AD1pjUVOpULxeJEYFEWjkiolkkYITB+ObggBzfgwWawfAxyqSY3gaBUZ4QG3Wu0px3O1yutnuz1uX3+95BkNqDRQSP3NHvTG1eMlJPsVPPDMST57KWFcVQNUgDWE4lkmqwqTiIA
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/nvie
Vincent Driessen (nvie)https://github.com/nvie
Apr 16, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-pullrequest-2240999568
Enable typed queries for threads liveblocks/liveblocks#1568 https://github.com/liveblocks/liveblocks/pull/1568
https://github.com/lachieh
Lachlan Heywood (lachieh)https://github.com/lachieh
Apr 18, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-1303645007
prefer-native-coercion-functions should ignore type guards sindresorhus/eslint-plugin-unicorn#1857 https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1857
https://github.com/Lonli-Lokli
Lonli-Loklihttps://github.com/Lonli-Lokli
Apr 19, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-725402325
Accept de-structured elements in type predicates #41173 https://github.com/microsoft/TypeScript/issues/41173
https://github.com/Arctomachine
Alexander (Arctomachine)https://github.com/Arctomachine
May 7, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-167984634
Trade-offs in Control Flow Analysis #9998 https://github.com/microsoft/TypeScript/issues/9998
Regression in detecting unused parameters in 5.5.0-beta #58493 https://github.com/microsoft/TypeScript/issues/58493
Infer AssertsIdentifier type predicates #58495 https://github.com/microsoft/TypeScript/pull/58495
Type predicate assertion does not carry over when used in another function #51326 https://github.com/microsoft/TypeScript/issues/51326
https://github.com/fnky
Christian Petersen (fnky)https://github.com/fnky
Jun 21, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2367265353
Predicate inference fails for empty object and nullish values #58967 https://github.com/microsoft/TypeScript/issues/58967
https://github.com/RDIL
Reece Dunham (RDIL)https://github.com/RDIL
Jun 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2184080281
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Jun 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2184082948
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/ljharb
Jordan Harband (ljharb)https://github.com/ljharb
Jun 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2184086490
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Jun 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2184170318
#16655https://github.com/microsoft/TypeScript/issues/16655
declaredhttps://github.com/microsoft/TypeScript/blob/5d70bf894efe9014d24d4ba439807311e5b33fb8/src/lib/es5.d.ts#L535
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Jun 22, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2184180447
#50387 (comment)https://github.com/microsoft/TypeScript/issues/50387#issuecomment-2037968462
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/whzx5byb
whzx5bybhttps://github.com/whzx5byb
Jun 24, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2369069451
Array filter() by element constructor returns never[] #58987 https://github.com/microsoft/TypeScript/issues/58987
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Jun 24, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2370898808
Filter with "something is smallerType" don't work as negative #58996 https://github.com/microsoft/TypeScript/issues/58996
https://github.com/MichalMarsalek
Michal Maršálek (MichalMarsalek)https://github.com/MichalMarsalek
Jun 24, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2371122413
Inferred Type Predicates don't work with the Boolean function #58999 https://github.com/microsoft/TypeScript/issues/58999
https://github.com/dest1n1s
Xuyang Ge (dest1n1s)https://github.com/dest1n1s
Jul 10, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2221175840
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Jul 10, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2221187458
Xuyang Ge (@dest1n1s)https://github.com/dest1n1s
The Hidden Side of Type Predicateshttps://effectivetypescript.com/2024/02/27/type-guards/
#15048https://github.com/microsoft/TypeScript/issues/15048
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/leppaott
leppaotthttps://github.com/leppaott
Aug 1, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2262779499
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Aug 1, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2262921111
Yes, we talked about it just a few comments backhttps://github.com/microsoft/TypeScript/pull/57465#issuecomment-2184170318
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Aug 2, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2444259037
Inferred Type Predicates doesn't narrow type if using other conditional expressions #59509 https://github.com/microsoft/TypeScript/issues/59509
https://github.com/stianjensen
Stian Jensen (stianjensen)https://github.com/stianjensen
Aug 6, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2451325457
Bug:Lots of Found an "error" any type after upgrade to TypeScript 5.5 typescript-eslint/typescript-eslint#9736 https://github.com/typescript-eslint/typescript-eslint/issues/9736
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Aug 26, 2024https://github.com/microsoft/TypeScript/pull/57465#issuecomment-2310948028
#42384https://github.com/microsoft/TypeScript/issues/42384
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/Lonli-Lokli
Lonli-Loklihttps://github.com/Lonli-Lokli
Sep 16, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-357357854
Allow intersection type guards for multiple parameters #26916 https://github.com/microsoft/TypeScript/issues/26916
https://github.com/paulsouche
Paul Souche (paulsouche)https://github.com/paulsouche
Sep 30, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2557261310
[Control flow] Array filter with typeguard works differently following array initial value #60108 https://github.com/microsoft/TypeScript/issues/60108
https://github.com/emmnull
Emmanuel (emmnull)https://github.com/emmnull
Nov 30, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2629429041
Proposal: Predicate inferer sindresorhus/type-fest#973 https://github.com/sindresorhus/type-fest/issues/973
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Dec 17, 2024 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2744615929
Refining discriminated union of arrays with array.find on a property that is a union #60785 https://github.com/microsoft/TypeScript/issues/60785
https://github.com/benoitf
Florent BENOIT (benoitf)https://github.com/benoitf
Feb 11, 2025 https://github.com/microsoft/TypeScript/pull/57465#ref-pullrequest-2843832302
chore: using simple objects in rpc api (to avoid snapshots) podman-desktop/extension-bootc#1314 https://github.com/podman-desktop/extension-bootc/pull/1314
https://github.com/MartinJohns
Martin Johns (MartinJohns)https://github.com/MartinJohns
Feb 15, 2025 https://github.com/microsoft/TypeScript/pull/57465#ref-issue-2855382524
Inconsistent inferred type predicate for filter #61182 https://github.com/microsoft/TypeScript/issues/61182
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 16, 2025https://github.com/microsoft/TypeScript/pull/57465#event-20323076135
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%2F57465
https://github.com/jakebailey
Jake Bailey (jakebailey) https://github.com/jakebailey
https://github.com/microsoft/TypeScript/pull/57465/files/4e79d761634db1e0c54c3b1acf3ac315be034042
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/57465/files/50803a0d2c6c7620e2118a15e98d850a658b0d6b
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
https://github.com/microsoft/TypeScript/pull/57465/files/cabed97f39ac30324adab6c39d7fe1a2c9f33366
https://github.com/JoostK
Joost Koehoorn (JoostK) https://github.com/JoostK
https://github.com/microsoft/TypeScript/pull/57465/files/4e79d761634db1e0c54c3b1acf3ac315be034042
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) https://github.com/RyanCavanaugh
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Custom typeguard “as narrowed” https://github.com/microsoft/TypeScript/issues/50734
Infer arrow function type guard type for specific simple cases https://github.com/microsoft/TypeScript/issues/38390
Infer type guard => array.filter(x => !!x) should refine Array to Array https://github.com/microsoft/TypeScript/issues/16069
Better propagation of type predicate signatures https://github.com/microsoft/TypeScript/issues/12798
Type guards should be flowed https://github.com/microsoft/TypeScript/issues/10734
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57465
https://github.com/danvk
https://github.com/typescript-bot
https://github.com/RyanCavanaugh
https://github.com/fatcerberus
https://github.com/jakebailey
https://github.com/JesusTheHun
https://github.com/NWYLZW
https://github.com/DavidWeiss2
https://github.com/jacobshirley
https://github.com/MichalMarsalek
https://github.com/ehoogeveen-medweb
https://github.com/ahejlsberg
https://github.com/ljharb
https://github.com/craigphicks
https://github.com/weswigham
https://github.com/twentytwo777
https://github.com/MichaelMitchell-at
https://github.com/jcalz
https://github.com/Arctomachine
https://github.com/tshddx
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.