René's URL Explorer Experiment


Title: Regression with TS 5. Type instantiation is excessively deep and possibly infinite.ts(2589) · Issue #53514 · microsoft/TypeScript · GitHub

Open Graph Title: Regression with TS 5. Type instantiation is excessively deep and possibly infinite.ts(2589) · Issue #53514 · microsoft/TypeScript

X Title: Regression with TS 5. Type instantiation is excessively deep and possibly infinite.ts(2589) · Issue #53514 · microsoft/TypeScript

Description: Bug Report 🔎 Search Terms Type instantiation is excessively deep and possibly infinite.ts(2589) Typescript 5.0.2 instantiationCount >= 5e6 🕗 Version & Regression Information 5.0.2 (Also tested with 5.1.0-dev.20230326) Please keep and fil...

Open Graph Description: Bug Report 🔎 Search Terms Type instantiation is excessively deep and possibly infinite.ts(2589) Typescript 5.0.2 instantiationCount >= 5e6 🕗 Version & Regression Information 5.0.2 (Also tested with...

X Description: Bug Report 🔎 Search Terms Type instantiation is excessively deep and possibly infinite.ts(2589) Typescript 5.0.2 instantiationCount >= 5e6 🕗 Version & Regression Information 5.0.2 (Also test...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/53514

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression with TS 5. Type instantiation is excessively deep and possibly infinite.ts(2589) ","articleBody":"# Bug Report\r\n\r\n### 🔎 Search Terms\r\n\r\n\u003c!--\r\n  What search terms did you use when trying to find an existing bug report?\r\n  List them here so people in the future can find this one more easily.\r\n-->\r\n\r\n- Type instantiation is excessively deep and possibly infinite.ts(2589)\r\n- Typescript 5.0.2  \r\n- instantiationCount >= 5e6  \r\n\r\n### 🕗 Version & Regression Information\r\n\r\n`5.0.2` (Also tested with `5.1.0-dev.20230326`)\r\n\r\nPlease keep and fill in the line that best applies:\r\n- This changed between versions 4.9.5 and 5.0.2\r\n\r\n### ⏯ Playground Link\r\n\r\nI created a reproduction repo with straight forward reproduction path:  \r\nhttps://github.com/garronej/typescript-v5-instantiationCount-bug-report  \r\n\r\n### 💻 Code\r\n\r\nThe problem is related to typescript 5 instantiating much more object than TS 4.  \r\nI know that the problem occurs when involving [this framework that has complex type definitions](https://github.com/garronej/redux-clean-architecture/blob/main/src/createCore.ts).  \r\n\r\n### 🙁 Actual behavior\r\n\r\nWith TypeScript v5 project fail to compile with `Type instantiation is excessively deep and possibly infinite.ts(2589)`.  \r\nBecause the `instantiationCount` limit (5e6) is reached.  \r\nIncreasing it by modifying TypeScript's source fixes it but intelissense becomes so slow it becomes impossible to work.  \r\n\r\nOn MBP M1:\r\n\r\nhttps://user-images.githubusercontent.com/6702424/227797872-21ac44ed-a4a9-4378-9bd8-ea7431e13f7e.mp4\r\n\r\n### 🙂 Expected behavior  \r\n\r\nWith TypeScript v4 it compiles and the devloppement experience is smooth:  \r\n\r\nhttps://user-images.githubusercontent.com/6702424/227798305-cd0f1b89-6e97-4ea8-aa11-05dd1456ac03.mov   \r\n\r\nThanks to all the team, thanks for your great work!  \r\n","author":{"url":"https://github.com/garronej","@type":"Person","name":"garronej"},"datePublished":"2023-03-26T19:23:33Z","url":"https://github.com/microsoft/TypeScript/issues/53514"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:30e608a4-677d-843e-c8a5-e63daa9dd954
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED2C:3F8AB1:2BDE1F7:37BDFD2:6B01982A
html-safe-noncea95eede35613c188fefeb40a5cc56efdcf12e94d9118a766202d54986d9fe187
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDJDOjNGOEFCMToyQkRFMUY3OjM3QkRGRDI6NkIwMTk4MkEiLCJ2aXNpdG9yX2lkIjoiMTQ2MDg2MDUxNTc5MDA5MDY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5b7082d96f08d1cbb5215ac6758c3f393566077fd7fd667ece677d103ce74936
hovercard-subject-tagissue:1641048138
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/53514/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c7d25ac6b7336529361f41600273546e38dfadd9bb0293c0b2de8d670877053c/microsoft/TypeScript/issues/53514
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c7d25ac6b7336529361f41600273546e38dfadd9bb0293c0b2de8d670877053c/microsoft/TypeScript/issues/53514
og:image:altBug Report 🔎 Search Terms Type instantiation is excessively deep and possibly infinite.ts(2589) Typescript 5.0.2 instantiationCount >= 5e6 🕗 Version & Regression Information 5.0.2 (Also tested with...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegarronej
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/53514#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F53514
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%2Fissues%2F53514
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/53514
Reloadhttps://github.com/microsoft/TypeScript/issues/53514
Reloadhttps://github.com/microsoft/TypeScript/issues/53514
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/53514
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/53514
Regression with TS 5. Type instantiation is excessively deep and possibly infinite.ts(2589) https://github.com/microsoft/TypeScript/issues/53514#top
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
https://github.com/garronej
Joseph Garrone (garronej)https://github.com/garronej
on Mar 26, 2023https://github.com/microsoft/TypeScript/issues/53514#issue-1641048138
https://github.com/garronej/typescript-v5-instantiationCount-bug-reporthttps://github.com/garronej/typescript-v5-instantiationCount-bug-report
this framework that has complex type definitionshttps://github.com/garronej/redux-clean-architecture/blob/main/src/createCore.ts
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
on Mar 26, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1484249086
https://github.com/garronej
Joseph Garrone (garronej)https://github.com/garronej
on Mar 27, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1484426861
Bruce Pascoe (@fatcerberus)https://github.com/fatcerberus
the reproduction repohttps://github.com/garronej/typescript-v5-instantiationCount-bug-report
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Mar 28, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1487546480
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
on Mar 30, 2023https://github.com/microsoft/TypeScript/issues/53514#event-8892776770
https://github.com/aspirisen
Dmitrii Pikulin (aspirisen)https://github.com/aspirisen
on Apr 5, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1498181625
playgroundhttps://www.typescriptlang.org/play?ts=5.0.3#code/JYWwDg9gTgLgBAbzjAnmApnA4umAaZNTAJXTABsBDAY0wF84AzKCEOAclQwFpH0BnGOwBQw4ADsY6KIxqYAKgAt0ITAmFxNcSgC5EGrYYBGewVAkBzA5rrDbwrpgBSECQB4A0gQAKAPjgAvHAecOgAHlLiACb8cGaWcAA+cOIAriBG0nAA-HAAFN6hEejRsfHiFkkp6ZlQOXAABgAkCB50LezsRZExcIW5nXB67AB07O0I3nQNQynoAG7SAJSz4gvSoo59UAuBcADaa4tQBAAMBACMBABMBADMBAAsBACsBABsBADsBAAcBABOS7nOAXK6g26gh6g56gt6gz6gn6g-6goFwa4gkbY077AC6eM2RD6lBgin4bnkBAAIt0Sr00hkskELqd-EF9tS8XTSgcjtJCYZcvyoNZZvIeb0IEYAFboagwMW5dSGVUHEISOAAa3QKAgjDg8jx3GyehC4R6ZRg5gqVUZtXqzVa0yqLncXhJZIp8n2HjxPh2805eN8-j0IrFNn2Or1BqNYuGIgcxNIfB24loADVKOZKEZyOg3MQIBAYN5SYpJVabRYCBKLfTq5Z2XBSBQ5G4GtxuC1i6Xy2S6D2EPJpgRRuxx9xJ4htORyHpral6L5ROFILAmKkMzBgBBxHBqDtSehs+QiyWyxWq57yZTlKpLqG8gB9FilvR9q9klYqrRbABhVIoHTGAlBUU9KHIZdYiCHAYHvCCCC-AdFFXQxAOA0DwNUVDYNvCkgJAkowIfSDoIEVcxUYbcFT3A9xEoVRKRvIjsLIvDfDyMAKz0eQlk-dA0xKLMc2APMCwvfsKzrfw-zVHYYGAg8eLJbRYkocQUHU1shOkETINzfNCxQmTDXQrR7EMGid3ouB5jEiTC3rYpeTYkicPQTjuN4w1f0jLRFOUxoHKgPIWkY1QfJ-OglhmShYmofdBDFKytFC8TjJGA8gki9BREMIKoAPDKnLsYQgA
type-festhttps://github.com/sindresorhus/type-fest
https://github.com/Ellebkey
Joel Barranco (Ellebkey)https://github.com/Ellebkey
on Jun 2, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1573120712
https://github.com/jonsagara
Jon Sagara (jonsagara)https://github.com/jonsagara
on Jun 2, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1573959445
Joel Barranco (@Ellebkey)https://github.com/Ellebkey
https://github.com/throrin19
Benjamin Besse (throrin19)https://github.com/throrin19
on Jun 16, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1594280747
https://github.com/stryaponoff
Kirill Stryaponov (stryaponoff)https://github.com/stryaponoff
on Aug 29, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1697300694
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Aug 29, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1697329663
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Aug 29, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1698210314
#52392https://github.com/microsoft/TypeScript/pull/52392
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
https://github.com/geoffreytools
Geoffrey (geoffreytools)https://github.com/geoffreytools
on Oct 2, 2023https://github.com/microsoft/TypeScript/issues/53514#issuecomment-1742556420
https://github.com/abhishekmardiya
Abhishek Mardiya (abhishekmardiya)https://github.com/abhishekmardiya
on Aug 24, 2025https://github.com/microsoft/TypeScript/issues/53514#issuecomment-3218203333
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Aug 27, 2025https://github.com/microsoft/TypeScript/issues/53514#issuecomment-3229916747
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 27, 2025https://github.com/microsoft/TypeScript/issues/53514#event-19378506852
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/53514
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/53514
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
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.