René's URL Explorer Experiment


Title: TS7 regression: callback parameter loses contextual type (TS7006) for a computed `string` key when the type parameter's constraint references itself · Issue #65530 · microsoft/TypeScript · GitHub

Open Graph Title: TS7 regression: callback parameter loses contextual type (TS7006) for a computed `string` key when the type parameter's constraint references itself · Issue #65530 · microsoft/TypeScript

X Title: TS7 regression: callback parameter loses contextual type (TS7006) for a computed `string` key when the type parameter's constraint references itself · Issue #65530 · microsoft/TypeScript

Description: 🔎 Search Terms TS7006, implicitly has an 'any' type, contextual type, computed property name, string index signature, self-referential constraint, R extends F, circular constraint, 7.0 regression 🕗 Version & Regression Information Thi...

Open Graph Description: 🔎 Search Terms TS7006, implicitly has an 'any' type, contextual type, computed property name, string index signature, self-referential constraint, R extends F, circular constraint, 7.0 regressio...

X Description: 🔎 Search Terms TS7006, implicitly has an 'any' type, contextual type, computed property name, string index signature, self-referential constraint, R extends F<R>, circular constraint,...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TS7 regression: callback parameter loses contextual type (TS7006) for a computed `string` key when the type parameter's constraint references itself","articleBody":"### 🔎 Search Terms\n\nTS7006, implicitly has an 'any' type, contextual type, computed property name, string index signature, self-referential constraint, `R extends F\u003cR>`, circular constraint, 7.0 regression\n\n### 🕗 Version & Regression Information\n\n- This changed between versions 6.0.3 and 7.0.1-rc.\n- It still happens on 7.1.0-dev.20261116.1 (`typescript@next`).\n\n| Version              | `tsc -p` result |\n| -------------------- | --------------- |\n| 5.9.3                | no errors       |\n| 6.0.3                | no errors       |\n| 7.0.1-rc             | TS7006          |\n| 7.0.2                | TS7006          |\n| 7.1.0-beta           | TS7006          |\n| 7.1.0-dev.20261116.1 | TS7006          |\n\nIt doesn't depend on parallel checking: 7.0.2 reports the same TS7006 with `--singleThreaded` and with `--checkers 1`, `2`, and `8`, and `next` reports it in 10 of 10 runs of a single-file version.\n\n### ⏯ Playground Link\n\nPlayground v2, same project on both versions:\n\n- [6.0.3](https://www.typescriptlang.org/play/v2/?ts=6.0.3#code/v2/N4IghgxgLglgbgUwGIwDYJALhAegO4D2ATgNYDOADpAjlGRAQHYBmMA5gHQBWZTIANCFboyWUPmLkqEGnQYt23XoywhgAAgA6IBgFsKaBEQDyFWEzLbM6jdrJQiMaFfUOArgn5aQZEjAoAMjAARgDCABYIECQu7p7eugQAJm7oLtqMyQiMCAAeUNpe2lBgRGwIBVjeCGQ5+drqAL5FIDCMEKhuSQguANraAFQcdNoAuk0CuISklNQ4qCEcScOi2FAAnhQI6gByBADKDmDrAEqpCADSCOtkADwnAHzqALw26r0X6m3qJNcEzOoTqNrG5GCRMnhGE0ANyaRgbLbqQ6OaBnET3LwAFSerwAFL1fut-oDxnkoNkkmR3jlEERxgB+QEIACObhgRAQSVu2PU1j2yOOaMu1zujwAlOoAGQ2OHqd6fb4ndRkilU0HggiQ9SMgCiuQ6XQQt0JxJOXhNAJ51hpRlG9OtCFpsMYjWdeQoxCg6m6HVK219ZCpABEjPAjNynsBZd7Q4h7sr8qr1JipUiHE4oELRViHg9ccE2agktZcRLnk8TmLrHACDAks65RRUGA2vGVYxKcm8wW0MX1KWXhWq+oa3XnY1JhIZtIaLoW4wVqoYPpPa5NtsNCHHLSmupmEQCLpvBx5oseNpnT7mxz1PJ7D9rtZ7I5GGxL1Fr-6LF62t1cpzrC3MMiFuDRelyJ901fYF+wQVBrTcXRgiMMsnnVCEoUaB5319G87y9BZySIMB4PUIDaVA9QDzwMh7Vg0jGEQ5CiFQ9R0M1TDsLhX88k5JZYwQXEB3LfswMJGDcTg1i4KaMUxWhdQcBwZN9gAdgABnUgA2dQmHUVSOFyXTGFQdY4UIowSP47dBOEp5cQ0aiyBLKTB2VVBZPkxTlOMT5HSMdY8EiDluI7XjlibechNYhz3nElzUGkjzGjkhSlPUXzlVpQLgp6FRmh8OConMFRMFAD0yBgErQgITpdFKgBGAAmLTBAqqqYCYIIch2JijCwBrBDIIroE6xhDlKKAarqxqWqGkaSomogoG6hBeqQ-rMAagraUqvhMCaxogA): no errors.\n- [Nightly 7.1.0-dev.20261116.1](https://www.typescriptlang.org/play/v2/#code/v2/N4IghgxgLglgbgUwGIwDYJALhAegO4D2ATgNYDOADpAjlGRAQHYBmMA5gHQBWZTIANCFboyWUPmLkqEGnQYt23XoywhgAAgA6IBgFsKaBEQDyFWEzLbM6jdrJQiMaFfUOArgn5aQZEjAoAMjAARgDCABYIECQu7p7eugQAJm7oLtqMyQiMCAAeUNpe2lBgRGwIBVjeCGQ5+drqAL5FIDCMEKhuSQguANraAFQcdNoAuk0CuISklNQ4qCEcScOi2FAAnhQI6gByBADKDmDrAEqpCADSCOtkADwnAHzqALw26r0X6m3qJNcEzOoTqNrG5GCRMnhGE0ANyaRgbLbqQ6OaBnET3LwAFSerwAFL1fut-oDxnkoNkkmR3jlEERxgB+QEIACObhgRAQSVu2PU1j2yOOaMu1zujwAlOoAGQ2OHqd6fb4ndRkilU0HggiQ9SMgCiuQ6XQQt0JxJOXhNAJ51hpRlG9OtCFpsMYjWdeQoxCg6m6HVK219ZCpABEjPAjNynsBZd7Q4h7sr8qr1JipUiHE4oELRViHg9ccE2agktZcRLnk8TmLrHACDAks65RRUGA2vGVYxKcm8wW0MX1KWXhWq+oa3XnY1JhIZtIaLoW4wVqoYPpPa5NtsNCHHLSmupmEQCLpvBx5oseNpnT7mxz1PJ7D9rtZ7I5GGxL1Fr-6LF62t1cpzrC3MMiFuDRelyJ901fYF+wQVBrTcXRgiMMsnnVCEoUaB5319G87y9BZySIMB4PUIDaVA9QDzwMh7Vg0jGEQ5CiFQ9R0M1TDsLhX88k5JZYwQXEB3LfswMJGDcTg1i4KaMUxWhdQcBwZN9gAdgABnUgA2dQmHUVSOFyXTGFQdY4UIowSP47dBOEp5cQ0aiyBLKTB2VVBZPkxTlOMT5HSMdY8EiDluI7XjlibechNYhz3nElzUGkjzGjkhSlPUXzlVpQLgp6FRmh8OConMFRMFAD0yBgErQgITpdFKgBGAAmLTBAqqqYCYIIch2JijCwBrBDIIroE6xhDlKKAarqxqWqGkaSomogoG6hBeqQ-rMAagraUqvhMCaxogA): TS7006 at `main.ts:5:33`.\n\nThe links carry a `tsconfig.json` with `\"include\": [\"*.ts\"]`, because the v2 default config only includes `./src`.\n\n**Note on TS2313.** The types in `lib.d.ts` contain a circular constraint (details below). The repro models a library: the types ship as a `.d.ts`, and the call sits in the consumer's code. That's the setup where this was found. A consumer never sees the circularity error:\n\n- With `skipLibCheck: true`, the `.d.ts` isn't checked, so its TS2313 is never reported. That holds on every version and in any check order.\n- With `skipLibCheck: false`, `tsc` still doesn't print it, because it checks the `.d.ts` before the consumer file.\n- On 7.x, the consumer gets TS7006 in their own code, with nothing pointing at the library.\n\nIf you put the types in a `.ts` file and check the call first (a single-file repro does this), TS2313 appears on every version, 6.0.3 included. 6.0.3 still infers `el: number` in that case. So the circularity is common to both versions; only 7.x loses the contextual type. Playground with the types in `lib.ts`: [6.0.3](https://www.typescriptlang.org/play/v2/?ts=6.0.3#code/v2/N4IghgxgLglgbgUwGIwDYJALhAegO4D2ATgNYDOADpAjlGRAQHYBmMA5gHQBWZTIANCFboyWUPmLkqEGnQYt23XoywhgAAgA6IBgFsKaBEQDyFWEzLbM6jdrJQiMaFfUOArgn5aQuggBM3dBdtRn8ERgQADyhtL20oMCI2BBisbwQyCOjtdQBfOJAYRghUNz8EFwBtbQAqDjptAF08gVxCUkpqHFQYACN60WwoAE8KBHUAOQIAZQcwYYAlQIQAaQRhsgAeBYA+dQBeG3VKlfUi9RJ1gmZ1BcbrN0YSULxGPIBuTUYRsfVZx2gSxE2y8ABU9ocABSVS7Da63ZpRKDhPxkY4RRBEZoAfluCAAjm4YEQEH5NuD1NYpv95kDVustrsAJTqABkNi+6mOp3OC3USJRaMezwIr3UuIAopESmUEJtYfCFl4FTcKdYMUZGtj1QhMZ9GLl9VEKMQoOpyiVEuNLWQ0QARIzwIzkvbATnmx2Ibb86KC9Sgtl-BxOKB0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ibb86KC9Sgtl-BxOKB0xlgnY7SG9ImoPzWSEs-Z7BZM6xwAgwPz6rkUVBgIregWMVH+qMxtDx9SJg4ptPqDNZ-W5VoSDrSGi6AuMAaqGD6U2uUbjDQOxyYvLqZhEAi6bwcbp9bT6i35knqeT2C7raz2RyMNgrhCW9ebs1FcqRUnWMdOoibDSVSK74MH+7VhCodVuXS9IxJvZhReN5ch2I8T2tCwzR6ZEiDAL91FvTEH3UGc8DIbUPwQxgfz-IgAPUIDRRAsCvgvKJSQ4cpxwQSEa2TatH1hd9IU-AjPzyJkmXedQcBwf1pgAdgABmEgA2dQmHUQSOEiSTGFQYYvhgox4Koz1aPovZIQ0NCyATNja35VBOO43j+OMU5dSMYY8AACyMCpGHIq8-A4PNuzogidOOZiDNQdiTNyLieL49RLP5TFbIckkvhAfIQDIT9j3MFRMFAE0yBgVKAGECFKXQ0oARmEgBWQRMuymAmAAGSKBAJlwowsCKwQkvQaBqsYWZEigPKCuKsq2uSzqmB6ogoDqiJGt-ZrMCKhLMSyvhMAAJlyIA) shows TS2313 and TS7006.\n\n### 💻 Code\n\n```ts\n// @filename: lib.d.ts\ntype NoStrayRuleKeys\u003cR> = { [K in keyof R]: unknown };\ntype StrictRules\u003cR, T> = ([keyof R] extends [never] ? Required\u003cT> : NoStrayRuleKeys\u003cR>) & {\n  [K in R extends unknown ? Exclude\u003ckeyof R, keyof T> : never]?: never;\n};\nexport declare class Deriver\u003cT> {\n  derive\u003cR extends T & StrictRules\u003cR, T>>(build: () => R): void;\n  plain\u003cR extends T>(build: () => R): void;\n}\n// @filename: main.ts\nimport type { Deriver } from \"./lib.js\";\ndeclare const key: string;\ndeclare const indexed: Deriver\u003c{ [x: string]: (el: number) => unknown }>;\ndeclare const literal: Deriver\u003c{ rows?: (el: number) => unknown }>;\nindexed.derive(() => ({ [key]: (el) => el })); // TS7006 on 7.x only\nliteral.derive(() => ({ rows: (el) => el })); // OK everywhere\nindexed.plain(() => ({ [key]: (el) => el })); // OK everywhere\n```\n\n`tsconfig.json`:\n\n```json\n{ \"compilerOptions\": { \"strict\": true, \"noEmit\": true, \"skipLibCheck\": true, \"target\": \"ESNext\", \"module\": \"ESNext\", \"moduleResolution\": \"bundler\", \"types\": [], \"lib\": [\"ESNext\"] }, \"files\": [\"main.ts\"] }\n```\n\nRun `npx -p typescript@7.0.2 tsc -p tsconfig.json`, then the same with `typescript@6.0.3`. The result is the same with `skipLibCheck: false`, and when `lib.d.ts` is the declaration file that 6.0.3 emits from a `lib.ts` and lives in `node_modules`.\n\n### 🙁 Actual behavior\n\nOn 7.x:\n\n```\nmain.ts(5,33): error TS7006: Parameter 'el' implicitly has an 'any' type.\n```\n\n### 🙂 Expected behavior\n\nNo errors, as on 6.0.3, where `el` is contextually typed as `number` in all three calls.\n\n### Additional information about the issue\n\n**The cycle.** `R`'s constraint is `T & StrictRules\u003cR, T>`. `StrictRules` contains a mapped type whose key set, `R extends unknown ? Exclude\u003ckeyof R, keyof T> : never`, distributes over `R`. So resolving that key's constraint needs `R`'s constraint, which contains the same mapped type. The cycle appears only when the alias is applied to `derive`'s `R`, which happens while checking the call. TS2313 is then filed against the declaring file.\n\n**What differs between 6.0.3 and 7.x.** Varying only the value type `X` of the stray-key member isolates it:\n\n```ts\ntype StrictRules\u003cR, T> = ([keyof R] extends [never] ? Required\u003cT> : NoStrayRuleKeys\u003cR>) & {\n  [K in R extends unknown ? Exclude\u003ckeyof R, keyof T> : never]?: X; // X varies\n};\n```\n\n| Stray-key member                              | 6.0.3        | 7.x                    |\n| --------------------------------------------- | ------------ | ---------------------- |\n| circular keys, `X = never` (the repro)        | `el: number` | TS7006                 |\n| circular keys, `X = unknown`                  | `el: number` | `el: number`           |\n| circular keys, `X = (el: string) => unknown`  | `el: number` | `el: string \\| number` |\n| `[K in string]?: never` (no cycle)            | TS7006       | TS7006                 |\n\nThe third row shows the difference directly. On 7.x, the mapped type whose key type parameter has a circular constraint (the TS2313 one) acts as a `[x: string]` index signature when contextually typing a computed `string` key, and its parameter type merges with `T`'s index signature. On 6.0.3 it contributes nothing to that contextual type.\n\nWith `?: never`, the value is `undefined`, so the contextual type for the computed key becomes roughly `((el: number) => unknown) & undefined`. That has no call signature, so `el` becomes implicitly `any`. The last row confirms that a real `[x: string]: undefined` member produces TS7006 on both versions. A literal key (`literal.derive`) isn't affected, because `T`'s concrete `rows` property is preferred over index signatures.\n\nSo the regression seems to be in how a mapped type with a circular key constraint resolves its members on 7.x: an index signature versus no members.\n\nThe reduction is sensitive. Each of these changes alone makes 7.x behave like 6.0.3 again:\n\n- Inline `NoStrayRuleKeys\u003cR>` as `{ [K in keyof R]: unknown }`. The named alias is needed.\n- Replace `Required\u003cT>` with `T` in the true arm.\n- Make the stray keys non-distributive: `Exclude\u003ckeyof R, keyof T>` instead of `R extends unknown ? … : never`. This also removes the circularity.\n- Drop the stray-key mapped type.\n- Use a literal key that matches a literal-keyed config (`literal.derive`), or a constraint without self-reference (`plain`).\n\nRemoving the `[keyof R] extends [never]` conditional (keeping only `NoStrayRuleKeys\u003cR>`) makes 6.0.3 fail with TS7006 as well. Swapping the intersection order to `StrictRules\u003cR, T> & T` still reproduces.\n\nThe unreduced library nests this one level deeper (`{ [key]: { [key]: (el) => el } }`, a recursive `StrictRules`, and a `RequireAtLeastOne\u003cT>` arm). It fails the same way on 7.x and works on 6.0.3.\n\nPossibly related:\n\n- #64534 has similar ingredients: a circular mapped property inside an intersection, with the contextual type coming from another member's index signature (the #52095 fallback). It was closed because it lacked a concrete case where the behavior is wrong. This issue is such a case: the same circular input type-checks on 6.0.3 and gets TS7006 on 7.x.\n- #64091: dependent contextual inference for `T extends F\u003cT>` (open suggestion).\n- #64974 and #65011: other 7.1 contextual-typing losses (TS7031).\n","author":{"url":"https://github.com/Flarette","@type":"Person","name":"Flarette"},"datePublished":"2026-11-16T16:46:09Z","url":"https://github.com/microsoft/TypeScript/issues/65530"}

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:ed37c294-0205-2212-6efc-a32d0a887bff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFA6:2E7EBB:6F0C7F:8E0AD3:6B00E134
html-safe-noncec6cbecb2309dcf6afe89e184fae9a29feb02594c2a2034f71ca404c4c58467c1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkE2OjJFN0VCQjo2RjBDN0Y6OEUwQUQzOjZCMDBFMTM0IiwidmlzaXRvcl9pZCI6Ijc0NTk2MzkzMjQ3OTYwNTE3NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac392a7da38a7f1c45c8a50d916bc46a2d62fb2b67dbab715d8ab802cb21547e43
hovercard-subject-tagissue:6426082589
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/65530/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9e5dbb976c1cd4ebe81ffb922d443d9932e417d31dcfa8f8511c8c3f02195f98/microsoft/TypeScript/issues/65530
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9e5dbb976c1cd4ebe81ffb922d443d9932e417d31dcfa8f8511c8c3f02195f98/microsoft/TypeScript/issues/65530
og:image:alt🔎 Search Terms TS7006, implicitly has an 'any' type, contextual type, computed property name, string index signature, self-referential constraint, R extends F, circular constraint, 7.0 regressio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFlarette
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
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
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/65530#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F65530
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%2F65530
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/65530
Reloadhttps://github.com/microsoft/TypeScript/issues/65530
Reloadhttps://github.com/microsoft/TypeScript/issues/65530
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/65530
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/65530
TS7 regression: callback parameter loses contextual type (TS7006) for a computed string key when the type parameter's constraint references itselfhttps://github.com/microsoft/TypeScript/issues/65530#top
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: check: Contextual TypesThe issue relates to contextual typeshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20check%3A%20Contextual%20Types%22
Backloghttps://github.com/microsoft/TypeScript/milestone/29
https://github.com/Flarette
Flarette (Flarette)https://github.com/Flarette
on Nov 16, 2026https://github.com/microsoft/TypeScript/issues/65530#issue-6426082589
6.0.3https://www.typescriptlang.org/play/v2/?ts=6.0.3#code/v2/N4IghgxgLglgbgUwGIwDYJALhAegO4D2ATgNYDOADpAjlGRAQHYBmMA5gHQBWZTIANCFboyWUPmLkqEGnQYt23XoywhgAAgA6IBgFsKaBEQDyFWEzLbM6jdrJQiMaFfUOArgn5aQZEjAoAMjAARgDCABYIECQu7p7eugQAJm7oLtqMyQiMCAAeUNpe2lBgRGwIBVjeCGQ5+drqAL5FIDCMEKhuSQguANraAFQcdNoAuk0CuISklNQ4qCEcScOi2FAAnhQI6gByBADKDmDrAEqpCADSCOtkADwnAHzqALw26r0X6m3qJNcEzOoTqNrG5GCRMnhGE0ANyaRgbLbqQ6OaBnET3LwAFSerwAFL1fut-oDxnkoNkkmR3jlEER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2gSxE2y8ABU9ocABSVS7Da63ZpRKDhPxkY4RRBEZoAfluCAAjm4YEQEH5NuD1NYpv95kDVustrsAJTqABkNi+6mOp3OC3USJRaMezwIr3UuIAopESmUEJtYfCFl4FTcKdYMUZGtj1QhMZ9GLl9VEKMQoOpyiVEuNLWQ0QARIzwIzkvbATnmx2Ibb86KC9Sgtl-BxOKB0xlgnY7SG9ImoPzWSEs-Z7BZM6xwAgwPz6rkUVBgIregWMVH+qMxtDx9SJg4ptPqDNZ-W5VoSDrSGi6AuMAaqGD6U2uUbjDQOxyYvLqZhEAi6bwcbp9bT6i35knqeT2C7raz2RyMNgrhCW9ebs1FcqRUnWMdOoibDSVSK74MH+7VhCodVuXS9IxJvZhReN5ch2I8T2tCwzR6ZEiDAL91FvTEH3UGc8DIbUPwQxgfz-IgAPUIDRRAsCvgvKJSQ4cpxwQSEa2TatH1hd9IU-AjPzyJkmXedQcBwf1pgAdgABmEgA2dQmHUQSOEiSTGFQYYvhgox4Koz1aPovZIQ0NCyATNja35VBOO43j+OMU5dSMYY8AACyMCpGHIq8-A4PNuzogidOOZiDNQdiTNyLieL49RLP5TFbIckkvhAfIQDIT9j3MFRMFAE0yBgVKAGECFKXQ0oARmEgBWQRMuymAmAAGSKBAJlwowsCKwQkvQaBqsYWZEigPKCuKsq2uSzqmB6ogoDqiJGt-ZrMCKhLMSyvhMAAJlyIA
Circular mapped property is treated as missing when selecting contextual type from intersections #64534https://github.com/microsoft/TypeScript/issues/64534
Fixed an issue with contextual type for intersection properties (take 2) #52095https://github.com/microsoft/TypeScript/pull/52095
Feature request: Dependent contextual inference #64091https://github.com/microsoft/TypeScript/issues/64091
7.1: destructured parameter with a = {} default loses its contextual type (TS7031) #64974https://github.com/microsoft/TypeScript/issues/64974
Regression in 7.1: contextual parameter type is lost for a destructuring pattern with a default (TS7031) #65011https://github.com/microsoft/TypeScript/issues/65011
https://github.com/Flarette
Flarette (Flarette)https://github.com/Flarette
on Nov 16, 2026https://github.com/microsoft/TypeScript/issues/65530#issuecomment-6927233524
https://github.com/zhengdaodeguL
刘亦达 (zhengdaodeguL)https://github.com/zhengdaodeguL
on Nov 17, 2026https://github.com/microsoft/TypeScript/issues/65530#issuecomment-6942120093
#65546https://github.com/microsoft/TypeScript/pull/65546
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: check: Contextual TypesThe issue relates to contextual typeshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20check%3A%20Contextual%20Types%22
on Nov 17, 2026https://github.com/microsoft/TypeScript/issues/65530#event-36443618267
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Backloghttps://github.com/microsoft/TypeScript/milestone/29
on Nov 17, 2026https://github.com/microsoft/TypeScript/issues/65530#event-36443629011
5 (tydavid5)https://github.com/tydavid5
on Nov 19, 2026https://github.com/microsoft/TypeScript/issues/65530#event-36623491277
Fix contextual typing loss for computed string keys under circular ma…https://github.com/tydavid5/TypeScript/commit/0fd5f71e30229ad95be668d34ea6f869ac16bcc0
https://docs.github.com/articles/closing-issues-via-commit-messages
0fd5f71https://github.com/tydavid5/TypeScript/commit/0fd5f71e30229ad95be668d34ea6f869ac16bcc0
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/65530
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/65530
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: check: Contextual TypesThe issue relates to contextual typeshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20check%3A%20Contextual%20Types%22
BacklogNo due datehttps://github.com/microsoft/TypeScript/milestone/29
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.