René's URL Explorer Experiment


Title: 7.1 regression: TS5115 for import("cloudflare:workers") with @cloudflare/workers-types · Issue #65445 · microsoft/TypeScript · GitHub

Open Graph Title: 7.1 regression: TS5115 for import("cloudflare:workers") with @cloudflare/workers-types · Issue #65445 · microsoft/TypeScript

X Title: 7.1 regression: TS5115 for import("cloudflare:workers") with @cloudflare/workers-types · Issue #65445 · microsoft/TypeScript

Description: 🔎 Search Terms TS5115, "appear infinitely circular", MaybeCallableProvider, MethodOrProperty, cloudflare:workers, workers-types, dynamic import 🕗 Version & Regression Information This changed between versions 7.1.0-dev.20260721.1 (passes...

Open Graph Description: 🔎 Search Terms TS5115, "appear infinitely circular", MaybeCallableProvider, MethodOrProperty, cloudflare:workers, workers-types, dynamic import 🕗 Version & Regression Information This changed betwe...

X Description: 🔎 Search Terms TS5115, "appear infinitely circular", MaybeCallableProvider, MethodOrProperty, cloudflare:workers, workers-types, dynamic import 🕗 Version & Regression Information This...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"7.1 regression: TS5115 for import(\"cloudflare:workers\") with @cloudflare/workers-types","articleBody":"### 🔎 Search Terms\n\nTS5115, \"appear infinitely circular\", MaybeCallableProvider, MethodOrProperty, cloudflare:workers, workers-types, dynamic import\n\n### 🕗 Version & Regression Information\n\n- This changed between versions `7.1.0-dev.20260721.1` (passes) and `7.1.0-dev.20260722.1` (fails). I did not bisect to a commit.\n- Fails on `7.1.0-beta` and on `7.1.0-dev.20261111.1` (current `next`). Passes on `7.0.2`.\n- Not a duplicate of #65440 or #64605: those have different code and no external types. The error code is the same.\n\n### ⏯ Playground Link\n\nNo link: the code needs the `@cloudflare/workers-types` package, which the Playground does not have.\n\n### 💻 Code\n\nSetup (npm, any empty folder):\n\n```\nnpm i -D typescript@7.1.0-beta @cloudflare/workers-types@5.20261110.1\n```\n\n`tsconfig.json`:\n\n```json\n{\n  \"compilerOptions\": {\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"bundler\",\n    \"strict\": true,\n    \"noEmit\": true,\n    \"skipLibCheck\": true,\n    \"types\": [\"@cloudflare/workers-types\"]\n  },\n  \"files\": [\"index.ts\"]\n}\n```\n\n`index.ts` (one line):\n\n```ts\nimport(\"cloudflare:workers\").then((mod) => mod);\n```\n\nRun `npx tsc -p .`\n\n`@cloudflare/workers-types` 5.20261104.1 fails the same way. `await import(\"cloudflare:workers\")` without `.then` passes. A non-callback use of the module passes.\n\n### 🙁 Actual behavior\n\n```\n$ npx tsc -v\nVersion 7.1.0-beta\n$ npx tsc -p .\nindex.ts(1,1): error TS5115: Instantiations of the following types appear infinitely circular: 'MethodOrProperty', 'MaybeCallableProvider'.\n```\n\n`7.1.0-dev.20261111.1` prints the same error. In a bigger program the same cause also makes the result of a call on a `DurableObjectStub\u003cT>` (RPC types from the same package) become `any`, which then gives TS7006 on callback parameters.\n\n### 🙂 Expected behavior\n\nNo error, as in `7.0.2`:\n\n```\n$ npx tsc -v\nVersion 7.0.2\n$ npx tsc -p .\n$ echo $?\n0\n```\n\nThe types in `@cloudflare/workers-types` are valid and `7.0.2` accepts them.\n\n### Additional information about the issue\n\nTested on Linux with Node 24. Package `@cloudflare/workers-types` is `5.20261110.1` (latest).\n","author":{"url":"https://github.com/alon-gb","@type":"Person","name":"alon-gb"},"datePublished":"2026-11-11T16:27:31Z","url":"https://github.com/microsoft/TypeScript/issues/65445"}

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:4b41c603-b055-b096-b4df-4097c8993fbd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8306:38E318:2D709D:391AD7:6B0101E8
html-safe-noncea3ed74beef053f7c06ef1825219227bbd49c480f9f93e5155c39a0c1e13a5984
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzA2OjM4RTMxODoyRDcwOUQ6MzkxQUQ3OjZCMDEwMUU4IiwidmlzaXRvcl9pZCI6IjE0NTc3ODM5NzE2MDg4NTUwMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace67c91710414f910c62b062442f1874f87cbce14dca1989c69fc68811563859c
hovercard-subject-tagissue:6332699442
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/65445/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b2ca7aac96fc7c8164308463ab9738ff24d510c4fb88b1c66e16ab671ebbe801/microsoft/TypeScript/issues/65445
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b2ca7aac96fc7c8164308463ab9738ff24d510c4fb88b1c66e16ab671ebbe801/microsoft/TypeScript/issues/65445
og:image:alt🔎 Search Terms TS5115, "appear infinitely circular", MaybeCallableProvider, MethodOrProperty, cloudflare:workers, workers-types, dynamic import 🕗 Version & Regression Information This changed betwe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealon-gb
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/65445#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F65445
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%2F65445
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/65445
Reloadhttps://github.com/microsoft/TypeScript/issues/65445
Reloadhttps://github.com/microsoft/TypeScript/issues/65445
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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/65445
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/65445
#65481https://github.com/microsoft/TypeScript/pull/65481
7.1 regression: TS5115 for import("cloudflare:workers") with @cloudflare/workers-typeshttps://github.com/microsoft/TypeScript/issues/65445#top
#65481https://github.com/microsoft/TypeScript/pull/65481
https://github.com/alon-gb
Alon Weiss (alon-gb)https://github.com/alon-gb
on Nov 11, 2026https://github.com/microsoft/TypeScript/issues/65445#issue-6332699442
7.1 regression: bounded recursive types report TS5115 when inferred through a closure #65440https://github.com/microsoft/TypeScript/issues/65440
TS5115 in published Zod 4.5–4.6 types after #64372 #64605https://github.com/microsoft/TypeScript/issues/64605
https://github.com/maschwenk
Max Schwenk (maschwenk)https://github.com/maschwenk
on Nov 11, 2026https://github.com/microsoft/TypeScript/issues/65445#issuecomment-6801655226
microsoft/typescript-go#4687https://github.com/microsoft/typescript-go/pull/4687
#64372https://github.com/microsoft/TypeScript/pull/64372
microsoft/typescript-go#4687https://github.com/microsoft/typescript-go/pull/4687
Jake Bailey (jakebailey)https://github.com/jakebailey
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#65481https://github.com/microsoft/TypeScript/pull/65481
on Nov 14, 2026https://github.com/microsoft/TypeScript/issues/65445#event-36086395956
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/65445
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/65445
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.