René's URL Explorer Experiment


Title: Reinterpret a type parameter constrained to any as an upper bound constraint by weswigham · Pull Request #29571 · microsoft/TypeScript · GitHub

Open Graph Title: Reinterpret a type parameter constrained to any as an upper bound constraint by weswigham · Pull Request #29571 · microsoft/TypeScript

X Title: Reinterpret a type parameter constrained to any as an upper bound constraint by weswigham · Pull Request #29571 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Reinterpret a type parameter constrained to any as an upper bound constraint by weswigham · Pull Request #29571 · microsoft/TypeScript

Open Graph Description: Fixes #29509 Note, that we have a test that asserts that a type parameter explicitly extending any behaves like any when accessing its members (which IMO is strange). This would be a break to that ...

X Description: Fixes #29509 Note, that we have a test that asserts that a type parameter explicitly extending any behaves like any when accessing its members (which IMO is strange). This would be a break to that ...

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

X: @github

direct link

Domain: github.com

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:af7960f0-b2dd-da9d-2dca-29a9dffff0f8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC20E:26C2A:2E5CB28:408166F:6A6340DB
html-safe-nonce26fbe1e3ece9220a97468aa5812ca617d88572f1f6bcfb46d977e10c994ab09a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjBFOjI2QzJBOjJFNUNCMjg6NDA4MTY2Rjo2QTYzNDBEQiIsInZpc2l0b3JfaWQiOiIyMjAwNzE1ODAwODY5MDI4MDU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac88296b9e33f0e510d7de205cc959b589fd801e4b5819c0e3aa79b03c423cc667
hovercard-subject-tagpull_request:247505294
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/29571/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0978861c619f8d52e8b99c071a24250db5ae0e6b52f8420dd189729d23f91da8/microsoft/TypeScript/pull/29571
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0978861c619f8d52e8b99c071a24250db5ae0e6b52f8420dd189729d23f91da8/microsoft/TypeScript/pull/29571
og:image:altFixes #29509 Note, that we have a test that asserts that a type parameter explicitly extending any behaves like any when accessing its members (which IMO is strange). This would be a break to that ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
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
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/29571#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F29571
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F29571
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
Reloadhttps://github.com/microsoft/TypeScript/pull/29571
Reloadhttps://github.com/microsoft/TypeScript/pull/29571
Reloadhttps://github.com/microsoft/TypeScript/pull/29571
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 21 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
sandersnhttps://github.com/sandersn
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:any-constraint-as-upper-boundhttps://github.com/weswigham/TypeScript/tree/any-constraint-as-upper-bound
Conversationhttps://github.com/microsoft/TypeScript/pull/29571
Commits5 (5)https://github.com/microsoft/TypeScript/pull/29571/commits
Checkshttps://github.com/microsoft/TypeScript/pull/29571/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/29571/files
Reinterpret a type parameter constrained to any as an upper bound constrainthttps://github.com/microsoft/TypeScript/pull/29571#top
sandersnhttps://github.com/sandersn
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:any-constraint-as-upper-boundhttps://github.com/weswigham/TypeScript/tree/any-constraint-as-upper-bound
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Jan 24, 2019https://github.com/microsoft/TypeScript/pull/29571#issue-402933021
#29509https://github.com/microsoft/TypeScript/issues/29509
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/weswigham
Reinterpret a type parameter constrained to any as an upper bound con…https://github.com/microsoft/TypeScript/pull/29571/commits/8e9c47532ce7215fb53f7cf0e7ffb4724fc45da1
8e9c475https://github.com/microsoft/TypeScript/pull/29571/commits/8e9c47532ce7215fb53f7cf0e7ffb4724fc45da1
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
Jan 24, 2019https://github.com/microsoft/TypeScript/pull/29571#event-2095869752
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
weswighamhttps://github.com/weswigham
Jan 24, 2019https://github.com/microsoft/TypeScript/pull/29571#event-2095906103
https://github.com/weswigham
Merge branch 'master' into any-constraint-as-upper-boundhttps://github.com/microsoft/TypeScript/pull/29571/commits/570c756fce194d476d09a0f0bd2c8fdd1d394308
570c756https://github.com/microsoft/TypeScript/pull/29571/commits/570c756fce194d476d09a0f0bd2c8fdd1d394308
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/29571#issuecomment-457687844
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/29571#issuecomment-457687856
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
@RyanCavanaughhttps://github.com/RyanCavanaugh
570c756https://github.com/microsoft/TypeScript/commit/570c756fce194d476d09a0f0bd2c8fdd1d394308
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=21171
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/29571#issuecomment-457689278
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jan 25, 2019 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-403339155
Design Meeting Notes, 1/25/2019 #29588 https://github.com/microsoft/TypeScript/issues/29588
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Feb 27, 2019 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-405335682
inference problem with constraints involving conditionals and generics #29662 https://github.com/microsoft/TypeScript/issues/29662
https://github.com/weswigham
Merge branch 'master' into any-constraint-as-upper-boundhttps://github.com/microsoft/TypeScript/pull/29571/commits/7c13b70c1a2ae85fa8a6167d830d283953062dc2
7c13b70https://github.com/microsoft/TypeScript/pull/29571/commits/7c13b70c1a2ae85fa8a6167d830d283953062dc2
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Mar 8, 2019https://github.com/microsoft/TypeScript/pull/29571#issuecomment-471035787
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 8, 2019https://github.com/microsoft/TypeScript/pull/29571#issuecomment-471035805
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
@weswighamhttps://github.com/weswigham
7c13b70https://github.com/microsoft/TypeScript/commit/7c13b70c1a2ae85fa8a6167d830d283953062dc2
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=24482
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/weswigham
Use real constraqint in alias in testhttps://github.com/microsoft/TypeScript/pull/29571/commits/eb9eabb690bca5c64994ba080367f46331180ee1
eb9eabbhttps://github.com/microsoft/TypeScript/pull/29571/commits/eb9eabb690bca5c64994ba080367f46331180ee1
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Mar 8, 2019https://github.com/microsoft/TypeScript/pull/29571#issuecomment-471080893
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/andnp
andnphttps://github.com/andnp
Mar 11, 2019 https://github.com/microsoft/TypeScript/pull/29571#ref-pullrequest-419248098
fix: head off breaking change in ts@next andnp/SimplyTyped#88 https://github.com/andnp/SimplyTyped/pull/88
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Mar 13, 2019https://github.com/microsoft/TypeScript/pull/29571#issuecomment-472574489
@weswighamhttps://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
weswighamhttps://github.com/weswigham
weswighamhttps://github.com/weswigham
Apr 30, 2019https://github.com/microsoft/TypeScript/pull/29571#event-2309909814
Inference from multiple signatures produces unknown instead of any #31189 https://github.com/microsoft/TypeScript/issues/31189
Make anyArray.filter(Boolean) return any[], not unknown[] #31515 https://github.com/microsoft/TypeScript/pull/31515
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Jul 25, 2019 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-450820616
Checked type of conditional type isn't matched for constraint in true clause unless the type parameter is constrained #31700 https://github.com/microsoft/TypeScript/issues/31700
https://github.com/weswigham
weswighamhttps://github.com/weswigham
TypeScript 3.9.0https://github.com/microsoft/TypeScript/milestone/109
Jan 24, 2020https://github.com/microsoft/TypeScript/pull/29571#event-2975735833
https://github.com/sandersn
sandersnhttps://github.com/sandersn
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Feb 1, 2020https://github.com/microsoft/TypeScript/pull/29571#event-2998904950
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
Feb 1, 2020https://github.com/microsoft/TypeScript/pull/29571#event-2998905015
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Feb 12, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-585477823
@weswighamhttps://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Feb 13, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-585488826
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/sandersn
Merge branch 'master' into any-constraint-as-upper-boundhttps://github.com/microsoft/TypeScript/pull/29571/commits/04330dc07003a4dd0bb56798bf4fd778ae948b77
04330dchttps://github.com/microsoft/TypeScript/pull/29571/commits/04330dc07003a4dd0bb56798bf4fd778ae948b77
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Feb 13, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-585920008
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Feb 13, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-585983123
@RyanCavanaughhttps://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Mar 3, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-594081038
@RyanCavanaughhttps://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/sandersn
sandersnhttps://github.com/sandersn
67c6cebhttps://github.com/microsoft/TypeScript/commit/67c6cebfc8b721a6e4556fb6a2a6e50014ab57fb
Mar 3, 2020https://github.com/microsoft/TypeScript/pull/29571#event-3093227995
https://github.com/sandersn
sandersnhttps://github.com/sandersn
March 4, 2020 19:00https://github.com/microsoft/TypeScript/pull/29571#event-3098020433
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Mar 4, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-594757416
@weswighamhttps://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Mar 4, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-594777749
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Mar 4, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-594781084
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Mar 6, 2020https://github.com/microsoft/TypeScript/pull/29571#issuecomment-595512634
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/sandersn
sandersnhttps://github.com/sandersn
May 11, 2020 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-615999617
EventEmitter types still broken on Typescript 3.9 RC primus/eventemitter3#225 https://github.com/primus/eventemitter3/issues/225
https://github.com/webstrand
webstrandhttps://github.com/webstrand
May 13, 2020 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-617688095
Breaking change to extends any causes confusing behavior with indirect references to any #38555 https://github.com/microsoft/TypeScript/issues/38555
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
May 16, 2020 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-619263184
Record does not compile anymore #38601 https://github.com/microsoft/TypeScript/issues/38601
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
May 20, 2020 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-622096565
Design Meeting Notes, 5/15/2020 #38694 https://github.com/microsoft/TypeScript/issues/38694
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
May 23, 2020 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-623564802
Cannot be used to index type in 3.9 (worked in 3.8) #38740 https://github.com/microsoft/TypeScript/issues/38740
https://github.com/IllusionMH
IllusionMHhttps://github.com/IllusionMH
Jul 7, 2020 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-652529138
Generic extending any becomes generic extending unknown #39471 https://github.com/microsoft/TypeScript/issues/39471
https://github.com/trusktr
trusktrhttps://github.com/trusktr
Aug 7, 2020 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-674724613
Methods in simple mixin result as type any. #39943 https://github.com/microsoft/TypeScript/issues/39943
https://github.com/MartinJohns
MartinJohnshttps://github.com/MartinJohns
Nov 3, 2021 https://github.com/microsoft/TypeScript/pull/29571#ref-issue-1043682825
'unknown' is not assignable to type for static API with generic methods #46662 https://github.com/microsoft/TypeScript/issues/46662
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/29571#event-20415889002
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%2F29571
https://github.com/weswigham
weswigham https://github.com/weswigham
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%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
TypeScript 3.9.0 https://github.com/microsoft/TypeScript/milestone/109
Missing error after spreading generic props into JSX https://github.com/microsoft/TypeScript/issues/29509
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29571
https://github.com/weswigham
https://github.com/RyanCavanaugh
https://github.com/typescript-bot
https://github.com/sandersn
https://github.com/DanielRosenwasser
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.