René's URL Explorer Experiment


Title: TS5115 in published Zod 4.5–4.6 types after #64372 · Issue #64605 · microsoft/TypeScript · GitHub

Open Graph Title: TS5115 in published Zod 4.5–4.6 types after #64372 · Issue #64605 · microsoft/TypeScript

X Title: TS5115 in published Zod 4.5–4.6 types after #64372 · Issue #64605 · microsoft/TypeScript

Description: After #64372 Zod 4.5.0-4.6.5 break in TS 7.1 nightlies. I'm merging a fix Zod side, but the affected versions account for ~62M weekly downloads. In the long term I think it's a good price to pay for the improved recursive inference stuff...

Open Graph Description: After #64372 Zod 4.5.0-4.6.5 break in TS 7.1 nightlies. I'm merging a fix Zod side, but the affected versions account for ~62M weekly downloads. In the long term I think it's a good price to pay fo...

X Description: After #64372 Zod 4.5.0-4.6.5 break in TS 7.1 nightlies. I'm merging a fix Zod side, but the affected versions account for ~62M weekly downloads. In the long term I think it's a good price t...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TS5115 in published Zod 4.5–4.6 types after #64372","articleBody":"After https://github.com/microsoft/TypeScript/pull/64372 Zod 4.5.0-4.6.5 break in TS 7.1 nightlies. I'm merging a fix Zod side, but the affected versions account for ~62M weekly downloads. In the long term I think it's a good price to pay for the improved recursive inference stuff, and not that many people use `z.json()`, but just wanted to make sure all options were explored for avoiding this break (as long is it doesn't involve dropping any functionality from #64372 et al). 👍\n\n---\n\n### 🔎 Search Terms\n\nTS5115, \"appear infinitely circular\", base type arguments, zod, 64372\n\n### 🕗 Version & Regression Information\n\n- Introduced by #64372, first in `7.1.0-dev.20260929.1`. `7.0.2` and the commit before #64372 are fine. Still present in `7.1.0-dev.20261002.1`.\n\n### ⏯ Playground Link\n\n_No response_\n\n### 💻 Code\n\n```ts\ninterface Internals\u003cI = unknown> { input: I }\ninterface Schema { _zod: Internals }\ntype RecordInput\u003cV extends Schema> = V extends unknown ? Record\u003cstring, V[\"_zod\"][\"input\"]> : never;\ninterface RecordSchema\u003cV extends Schema> extends Schema { _zod: Internals\u003cRecordInput\u003cV>> }\ninterface UnionInternals\u003cT extends readonly Schema[]> extends Internals\u003cT[number][\"_zod\"][\"input\"]> {}\ninterface UnionSchema\u003cT extends readonly Schema[]> extends Schema { _zod: UnionInternals\u003cT> }\ntype JsonValue = { [k: string]: JsonValue };\ntype _Json = UnionSchema\u003c[RecordSchema\u003cJson>]>;\ntype _JsonInternals = _Json[\"_zod\"];\ninterface JsonInternals extends _JsonInternals { input: JsonValue }\ninterface Json extends _Json { _zod: JsonInternals }\n```\n\nWith the published package (`zod@4.6.5`, `skipLibCheck: true`):\n\n```ts\nimport * as z from \"zod\";\nexport const A = z.array(z.json()); // TS5115\n```\n\n### 🙁 Actual behavior\n\nTS5115 \"Instantiations of the following types appear infinitely circular\" on `RecordSchema\u003cJson>`. The same shape is Zod's `z.json()` type, so Zod 4.5.0 through 4.6.5 fail on 7.1:\n\n- with `skipLibCheck: false`, every project that imports Zod gets TS5115 from Zod's own declarations\n- with `skipLibCheck: true`, `z.array(z.json())`, `z.record(z.string(), z.json())` or `.parse()` on an object holding `z.json()` reports it in user code, and the record's input type becomes `Record\u003cstring, any>`\n\n### 🙂 Expected behavior\n\nNo error, as in 7.0.2.\n\n### Additional information about the issue\n\nThose versions get about 62M of Zod's 365M weekly npm downloads. The member-declaration fix from https://github.com/microsoft/TypeScript/pull/64372#issuecomment-5804602336 is merged in colinhacks/zod#6645 and goes out in the next Zod release, but projects that stay on 4.5.0–4.6.5 will still break when they move to 7.1.\n","author":{"url":"https://github.com/colinhacks","@type":"Person","name":"colinhacks"},"datePublished":"2026-10-02T18:09:47Z","url":"https://github.com/microsoft/TypeScript/issues/64605"}

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:87e54e1d-1e4a-f9b4-22b5-9f3bb804815f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB66C:3A4875:B11B97:ECFFD4:6B00F219
html-safe-nonce84f8cc166a4ea11c0bdc54340151e802daeb78b4845f4cf63710f97337a3a361
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjZDOjNBNDg3NTpCMTFCOTc6RUNGRkQ0OjZCMDBGMjE5IiwidmlzaXRvcl9pZCI6IjcyNjQ1MTc1NDc0OTQ1MzU3MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace1c26b789c949e489fa3fc16a4ea83c2ebc319a766f2b6143a332b832f1f76b8
hovercard-subject-tagissue:5681437569
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/64605/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b0c441a2bea5149131459db7e5fb9ba49ec6e2db96130b2e0d2100140b3f3bbe/microsoft/TypeScript/issues/64605
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0c441a2bea5149131459db7e5fb9ba49ec6e2db96130b2e0d2100140b3f3bbe/microsoft/TypeScript/issues/64605
og:image:altAfter #64372 Zod 4.5.0-4.6.5 break in TS 7.1 nightlies. I'm merging a fix Zod side, but the affected versions account for ~62M weekly downloads. In the long term I think it's a good price to pay fo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolinhacks
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/64605#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F64605
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%2F64605
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/64605
Reloadhttps://github.com/microsoft/TypeScript/issues/64605
Reloadhttps://github.com/microsoft/TypeScript/issues/64605
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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/64605
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/64605
#65479https://github.com/microsoft/TypeScript/pull/65479
#65059https://github.com/microsoft/TypeScript/pull/65059
TS5115 in published Zod 4.5–4.6 types after #64372https://github.com/microsoft/TypeScript/issues/64605#top
#65479https://github.com/microsoft/TypeScript/pull/65479
#65059https://github.com/microsoft/TypeScript/pull/65059
https://github.com/gabritto
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
TypeScript 7.1.1 RChttps://github.com/microsoft/TypeScript/milestone/225
https://github.com/colinhacks
Colin McDonnell (colinhacks)https://github.com/colinhacks
on Oct 2, 2026https://github.com/microsoft/TypeScript/issues/64605#issue-5681437569
#64372https://github.com/microsoft/TypeScript/pull/64372
#64372https://github.com/microsoft/TypeScript/pull/64372
Restore idempotency to resolveObjectTypeMembers #64372https://github.com/microsoft/TypeScript/pull/64372
Restore idempotency to resolveObjectTypeMembers #64372https://github.com/microsoft/TypeScript/pull/64372
#64372 (comment)https://github.com/microsoft/TypeScript/pull/64372#issuecomment-5804602336
colinhacks/zod#6645https://github.com/colinhacks/zod/pull/6645
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
on Oct 6, 2026https://github.com/microsoft/TypeScript/issues/64605#event-32643586496
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 7.1.1 RChttps://github.com/microsoft/TypeScript/milestone/225
on Oct 6, 2026https://github.com/microsoft/TypeScript/issues/64605#event-32643587877
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
on Oct 6, 2026https://github.com/microsoft/TypeScript/issues/64605#event-32643589749
https://github.com/RedesignedRobot
Amir Ayub (RedesignedRobot)https://github.com/RedesignedRobot
on Oct 8, 2026https://github.com/microsoft/TypeScript/issues/64605#issuecomment-6053406731
#64372https://github.com/microsoft/TypeScript/pull/64372
#64372https://github.com/microsoft/TypeScript/pull/64372
673a5f1https://github.com/microsoft/TypeScript/commit/673a5f17d713bdc8c7185f18a9c11e3c4ac5d781
Restore idempotency to resolveObjectTypeMembers #64372https://github.com/microsoft/TypeScript/pull/64372
https://github.com/rsnodgrass
Ryan (rsnodgrass)https://github.com/rsnodgrass
on Oct 9, 2026https://github.com/microsoft/TypeScript/issues/64605#issuecomment-6084855435
pingdotgg/ts-rust#20https://github.com/pingdotgg/ts-rust/issues/20
Tobias Fu (@realtobyfu)https://github.com/realtobyfu
Sawyer Hood (SawyerHood)https://github.com/SawyerHood
on Oct 20, 2026https://github.com/microsoft/TypeScript/issues/64605#event-33763354372
Work around TypeScript 7.1 regressions and skip typecheck on Windowshttps://github.com/get-bb/bb/commit/492ab85699b0face36c892282eb297c340953a5d
492ab85https://github.com/get-bb/bb/commit/492ab85699b0face36c892282eb297c340953a5d
Typecheck with tsrs instead of TypeScript 7 tsc (#5861)https://github.com/get-bb/bb/commit/75b90b972316318d91b689f57ecb42fa2b7e926a
#5861https://github.com/get-bb/bb/pull/5861
75b90b9https://github.com/get-bb/bb/commit/75b90b972316318d91b689f57ecb42fa2b7e926a
https://github.com/salemkode
Salem Mohammed Shamakh (salemkode)https://github.com/salemkode
on Oct 20, 2026https://github.com/microsoft/TypeScript/issues/64605#issuecomment-6299246463
https://github.com/ebidel
Eric Bidelman (ebidel)https://github.com/ebidel
on Oct 26, 2026https://github.com/microsoft/TypeScript/issues/64605#issuecomment-6426420558
#64688https://github.com/microsoft/TypeScript/pull/64688
postcss-selector-parserhttps://www.npmjs.com/package/postcss-selector-parser
#64372https://github.com/microsoft/TypeScript/pull/64372
#64372https://github.com/microsoft/TypeScript/pull/64372
#64688https://github.com/microsoft/TypeScript/pull/64688
#64688https://github.com/microsoft/TypeScript/pull/64688
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 29, 2026https://github.com/microsoft/TypeScript/issues/64605#issuecomment-6504485324
Eric Bidelman (@ebidel)https://github.com/ebidel
#64372 (comment)https://github.com/microsoft/TypeScript/pull/64372#issuecomment-5804602336
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 29, 2026https://github.com/microsoft/TypeScript/issues/64605#issuecomment-6505184494
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#65059https://github.com/microsoft/TypeScript/pull/65059
on Nov 2, 2026https://github.com/microsoft/TypeScript/issues/64605#event-34947580097
TygerKu (TygerKu)https://github.com/TygerKu
on Nov 9, 2026https://github.com/microsoft/TypeScript/issues/64605#event-35605967424
Typecheck with tsrs instead of TypeScript 7 tsc (#5861)https://github.com/TygerKu/bb-plugin-provider-claude-code-variant/commit/cb603a8da0db145d883d8f7f0df7bf15f2b1bd0b
cb603a8https://github.com/TygerKu/bb-plugin-provider-claude-code-variant/commit/cb603a8da0db145d883d8f7f0df7bf15f2b1bd0b
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/64605
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/64605
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
TypeScript 7.1.1 RCNo due datehttps://github.com/microsoft/TypeScript/milestone/225
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.