René's URL Explorer Experiment


Title: Filter object properties by type · Issue #38646 · microsoft/TypeScript · GitHub

Open Graph Title: Filter object properties by type · Issue #38646 · microsoft/TypeScript

X Title: Filter object properties by type · Issue #38646 · microsoft/TypeScript

Description: TypeScript Version: 3.9.2 Search Terms: mapped type filter object properties never Expected behavior: The type type FilteredKeys = { [P in keyof T]: T[P] extends U ? P : never }[keyof T]; that allows to extract object properties by...

Open Graph Description: TypeScript Version: 3.9.2 Search Terms: mapped type filter object properties never Expected behavior: The type type FilteredKeys = { [P in keyof T]: T[P] extends U ? P : never }[keyof T]; tha...

X Description: TypeScript Version: 3.9.2 Search Terms: mapped type filter object properties never Expected behavior: The type type FilteredKeys<T, U> = { [P in keyof T]: T[P] extends U ? P : never }[keyof T...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Filter object properties by type","articleBody":"**TypeScript Version:**  3.9.2\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\nmapped type filter object properties never \r\n\r\n**Expected behavior:**\r\nThe type\r\n`type FilteredKeys\u003cT, U> = { [P in keyof T]: T[P] extends U ? P : never }[keyof T];`\r\nthat allows to extract object properties by type should work everywhere.\r\n\r\n**Actual behavior:**\r\n`type FilteredKeys\u003cT, U> = { [P in keyof T]: T[P] extends U ? P : never }[keyof T];`\r\nonly works externally of the declaring type\r\n\r\n\u003c!-- Did you find other bugs that looked similar? -->\r\n**Related Issues:**\r\n#23199 \r\n\r\n**Code**\r\n```ts\r\ntype FilteredKeys\u003cT, U> = { [P in keyof T]: T[P] extends U ? P : never }[keyof T];\r\n\r\ntype FooItem\u003cT> = T extends number ? { value: T } : undefined;\r\n\r\ntype FooMap\u003cT> = {\r\n    // [key in keyof T]: FooItem\u003cT[key]>  // \u003c-- This works\r\n    [key in FilteredKeys\u003cT, number>]: FooItem\u003cT[key]>  // \u003c-- This doesn't work\r\n}\r\n\r\nclass Bar {\r\n    a = 1;\r\n    b = 2;\r\n    c = '';    \r\n\r\n    doSomething() {\r\n        const fooMap: FooMap\u003cthis> = undefined!; // Omitted...\r\n        const a = fooMap.a.value; // \u003c-- No error expected\r\n        const c = fooMap.c.value; // \u003c-- Error expected\r\n    }\r\n}\r\n\r\nconst fooMap2: FooMap\u003cBar> = undefined!; // Omitted...\r\nconst a = fooMap2.a.value; // \u003c-- No error expected\r\nconst c = fooMap2.c.value; // \u003c-- Error expected\r\n\r\n```\r\n\r\n\r\n\r\n\u003cdetails>\u003csummary>\u003cb>Output\u003c/b>\u003c/summary>\r\n\r\n```ts\r\n\"use strict\";\r\nclass Bar {\r\n    constructor() {\r\n        this.a = 1;\r\n        this.b = 2;\r\n        this.c = '';\r\n    }\r\n    doSomething() {\r\n        const fooMap = undefined; // Omitted...\r\n        const a = fooMap.a.value; // \u003c-- No error expected\r\n        const c = fooMap.c.value; // \u003c-- Error expected\r\n    }\r\n}\r\nconst fooMap2 = undefined; // Omitted...\r\nconst a = fooMap2.a.value; // \u003c-- No error expected\r\nconst c = fooMap2.c.value; // \u003c-- Error expected\r\n\r\n```\r\n\r\n\r\n\u003c/details>\r\n\r\n\r\n\u003cdetails>\u003csummary>\u003cb>Compiler Options\u003c/b>\u003c/summary>\r\n\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"noImplicitAny\": true,\r\n    \"strictNullChecks\": true,\r\n    \"strictFunctionTypes\": true,\r\n    \"strictPropertyInitialization\": true,\r\n    \"strictBindCallApply\": true,\r\n    \"noImplicitThis\": true,\r\n    \"noImplicitReturns\": true,\r\n    \"useDefineForClassFields\": false,\r\n    \"alwaysStrict\": true,\r\n    \"allowUnreachableCode\": false,\r\n    \"allowUnusedLabels\": false,\r\n    \"downlevelIteration\": false,\r\n    \"noEmitHelpers\": false,\r\n    \"noLib\": false,\r\n    \"noStrictGenericChecks\": false,\r\n    \"noUnusedLocals\": false,\r\n    \"noUnusedParameters\": false,\r\n    \"esModuleInterop\": true,\r\n    \"preserveConstEnums\": false,\r\n    \"removeComments\": false,\r\n    \"skipLibCheck\": false,\r\n    \"checkJs\": false,\r\n    \"allowJs\": false,\r\n    \"declaration\": true,\r\n    \"experimentalDecorators\": false,\r\n    \"emitDecoratorMetadata\": false,\r\n    \"target\": \"ES2017\",\r\n    \"module\": \"ESNext\"\r\n  }\r\n}\r\n```\r\n\r\n\r\n\u003c/details>\r\n\r\n**Playground Link:** [Provided](https://www.typescriptlang.org/play/index.html#code/C4TwDgpgBAYglgG2BAThAJgaQiAzgHgBUAaKAVQD4oBeKAbygG0AFKOAOygGscB7AMyiEAugC4hLYVAgAPZO3S5yUAPxRW49hABuqKAF9GPEAKHCA3AFgAUDdCRYvXgElkAWyJVahaXIgKldgBXNwAjPTUGbQBDBCCIcR99KHEghQh+DgwrW2t7aBgnAFlosE8aehsoaqgAelqmYzZOY1MRcUKXdyIjHGEqOob8AFphoQALOCUAd14ULlwqmt6QZthEZDQsHAISKGCw1AoxRy6ID0IV-ur6qBGxwkmldF4IXHYAcmAoWfmbfRsNgAxghorglAAhaIoSrWGpQaIVACMOXhoQqACZUTUgRUPh9zPDAXCai8AMq8NwQYCTdgAcwAFABKWHw+FA3jsXDffjFUodPllGlTLxQNLoDJZdAAQkJtwA8m44MBkOgAHQapZsqAcrnfRG0Xm8EpgNXRNUxOIQOVDUZQAByvGkKBQc18kCBqq1bN13J1FSNJrVQItsXiNrudoAoi63bIPV6SdUAdYU8DOX7A6UMQLjaV8FCUKLxZKtDKI4rlaqNWr03qEQHBRizaGrRH7g6nahXTD4xBPRg637cYam8HW+HBpGxjGe+7+4mgA)\r\n      ","author":{"url":"https://github.com/turolla","@type":"Person","name":"turolla"},"datePublished":"2020-05-18T18:49:45Z","url":"https://github.com/microsoft/TypeScript/issues/38646"}

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:ced4659d-d559-65b3-be23-d7b2ac53bd33
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAC90:154D88:1F6A841:28288CB:6B01AE1F
html-safe-nonce36776dd51fe6084c1c99683c73e4f0e3a608ffb92c701beab273d21e231d81c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzkwOjE1NEQ4ODoxRjZBODQxOjI4Mjg4Q0I6NkIwMUFFMUYiLCJ2aXNpdG9yX2lkIjoiODk0MjU3MjAxNjA0OTk1ODQzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac299a25c732d12ab1951549ffb02f7727b9de79a2b8260d792ef016a50ab5a7e8
hovercard-subject-tagissue:620429211
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/38646/issue_layout
twitter:imagehttps://opengraph.githubassets.com/023159d86a3e9d165ef0f9f7109fb8927a4fdd8a3dc449d1aec2753491c29785/microsoft/TypeScript/issues/38646
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/023159d86a3e9d165ef0f9f7109fb8927a4fdd8a3dc449d1aec2753491c29785/microsoft/TypeScript/issues/38646
og:image:altTypeScript Version: 3.9.2 Search Terms: mapped type filter object properties never Expected behavior: The type type FilteredKeys = { [P in keyof T]: T[P] extends U ? P : never }[keyof T]; tha...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameturolla
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-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/38646#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F38646
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%2F38646
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/38646
Reloadhttps://github.com/microsoft/TypeScript/issues/38646
Reloadhttps://github.com/microsoft/TypeScript/issues/38646
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/38646
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/38646
Filter object properties by typehttps://github.com/microsoft/TypeScript/issues/38646#top
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%22
https://github.com/turolla
Sergio Turolla (turolla)https://github.com/turolla
on May 18, 2020https://github.com/microsoft/TypeScript/issues/38646#issue-620429211
#23199https://github.com/microsoft/TypeScript/issues/23199
Providedhttps://www.typescriptlang.org/play/index.html#code/C4TwDgpgBAYglgG2BAThAJgaQiAzgHgBUAaKAVQD4oBeKAbygG0AFKOAOygGscB7AMyiEAugC4hLYVAgAPZO3S5yUAPxRW49hABuqKAF9GPEAKHCA3AFgAUDdCRYvXgElkAWyJVahaXIgKldgBXNwAjPTUGbQBDBCCIcR99KHEghQh+DgwrW2t7aBgnAFlosE8aehsoaqgAelqmYzZOY1MRcUKXdyIjHGEqOob8AFphoQALOCUAd14ULlwqmt6QZthEZDQsHAISKGCw1AoxRy6ID0IV-ur6qBGxwkmldF4IXHYAcmAoWfmbfRsNgAxghorglAAhaIoSrWGpQaIVACMOXhoQqACZUTUgRUPh9zPDAXCai8AMq8NwQYCTdgAcwAFABKWHw+FA3jsXDffjFUodPllGlTLxQNLoDJZdAAQkJtwA8m44MBkOgAHQapZsqAcrnfRG0Xm8EpgNXRNUxOIQOVDUZQAByvGkKBQc18kCBqq1bN13J1FSNJrVQItsXiNrudoAoi63bIPV6SdUAdYU8DOX7A6UMQLjaV8FCUKLxZKtDKI4rlaqNWr03qEQHBRizaGrRH7g6nahXTD4xBPRg637cYam8HW+HBpGxjGe+7+4mgA
Nexthttps://github.com/microsoft/TypeScript/issues/38646?timeline_page=1
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 Jun 8, 2020https://github.com/microsoft/TypeScript/issues/38646#event-3421739761
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Wesley Wigham (weswigham)https://github.com/weswigham
on Jun 8, 2020https://github.com/microsoft/TypeScript/issues/38646#event-3421739928
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.0https://github.com/microsoft/TypeScript/milestone/114
on Jun 8, 2020https://github.com/microsoft/TypeScript/issues/38646#event-3421740109
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jun 8, 2020https://github.com/microsoft/TypeScript/issues/38646#issuecomment-640849098
Wesley Wigham (@weswigham)https://github.com/weswigham
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.0https://github.com/microsoft/TypeScript/milestone/114
Typescript 4.0.1https://github.com/microsoft/TypeScript/milestone/123
on Jun 29, 2020https://github.com/microsoft/TypeScript/issues/38646#event-3493752616
https://github.com/dumasss163
dumasss163https://github.com/dumasss163
on Aug 7, 2020https://github.com/microsoft/TypeScript/issues/38646#issuecomment-670350598
Property Type inference problem when picking property with index key type · Issue #39945 · microsoft/TypeScripthttps://github.com/microsoft/TypeScript/issues/39945
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
on Aug 31, 2020https://github.com/microsoft/TypeScript/issues/38646#event-3710473299
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.0.1https://github.com/microsoft/TypeScript/milestone/123
TypeScript 4.1.0https://github.com/microsoft/TypeScript/milestone/124
on Aug 31, 2020https://github.com/microsoft/TypeScript/issues/38646#event-3710481113
https://github.com/shauns
Shaun Stanworth (shauns)https://github.com/shauns
on Sep 29, 2020https://github.com/microsoft/TypeScript/issues/38646#issuecomment-700829042
https://github.com/turolla
Sergio Turolla (turolla)https://github.com/turolla
on Sep 30, 2020https://github.com/microsoft/TypeScript/issues/38646#issuecomment-701215960
https://www.typescriptlang.org/play?ts=4.1.0-dev.20200929#code/C4TwDgpgBAYg9nAksCBbAPAFQHxQLxSZQQAeKAdgCYDOU5ArqgEYQBOUA-FAN5QBuAQwA29CAC5CUAL5QJ9KhABmAS3IRKAbgCwAKF2hIsBAFkBYLLgLddUW1AD09qAG0A1hBBRVUdyDiLCAF0JeCQUDEw3D0DcByd0AFoEwgALZVoAdzhWV2obO2cAaS9yHw9-SQFaSMLA4jIIKloGZjZOKGKJNT42YKMwtCwimLioROTMNNpKOAhqcgByYCgsnN0pXV0AYyEq2gAhAXZrHTsoAXwoAEZtU7smS4AmW7Oty4WF2-zbGYBlOFQEGAaXIAHMABQASh43zOUC2cHI1GWihMZhCaPMwPSlig8koSlU6gAhBpRgB5VDKYAoSgAOgZsNeiOR50uqLgpjAdIEdMEIggZMcYySUAAcnBiKxWNl6pAtrSmXYEUjlm8CByuXStnzhKIhfFRQBRaWy0jyxV3WwbHQ27YslGYx4YzlmdCHVi4-GEtSUUkUqk09QMun21VsjVOnm6gUGkXJCVSmXsc0QBXqMOs9VQTVmR7amP60bjKAm5NytOWoAhttps://www.typescriptlang.org/play?ts=4.1.0-dev.20200929#code/C4TwDgpgBAYg9nAksCBbAPAFQHxQLxSZQQAeKAdgCYDOU5ArqgEYQBOUA-FAN5QBuAQwA29CAC5CUAL5QJ9KhABmAS3IRKAbgCwAKF2hIsBAFkBYLLgLddUW1AD09qAG0A1hBBRVUdyDiLCAF0JeCQUDEw3D0DcByd0AFoEwgALZVoAdzhWV2obO2cAaS9yHw9-SQFaSMLA4jIIKloGZjZOKGKJNT42YKMwtCwimLioROTMNNpKOAhqcgByYCgsnN0pXV0AYyEq2gAhAXZrHTsoAXwoAEZtU7smS4AmW7Oty4WF2-zbGYBlOFQEGAaXIAHMABQASh43zOUC2cHI1GWihMZhCaPMwPSlig8koSlU6gAhBpRgB5VDKYAoSgAOgZsNeiOR50uqLgpjAdIEdMEIggZMcYySUAAcnBiKxWNl6pAtrSmXYEUjlm8CByuXStnzhKIhfFRQBRaWy0jyxV3WwbHQ27YslGYx4YzlmdCHVi4-GEtSUUkUqk09QMun21VsjVOnm6gUGkXJCVSmXsc0QBXqMOs9VQTVmR7amP60bjKAm5NytOWoA
https://github.com/alvis
Alvis Tang (alvis)https://github.com/alvis
on Oct 26, 2020https://github.com/microsoft/TypeScript/issues/38646#issuecomment-716414728
Shaun Stanworth (@shauns)https://github.com/shauns
#40833https://github.com/microsoft/TypeScript/issues/40833
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.1.0https://github.com/microsoft/TypeScript/milestone/124
TypeScript 4.2.0https://github.com/microsoft/TypeScript/milestone/129
on Dec 11, 2020https://github.com/microsoft/TypeScript/issues/38646#event-4101704627
https://github.com/turolla
Sergio Turolla (turolla)https://github.com/turolla
on Feb 28, 2022https://github.com/microsoft/TypeScript/issues/38646#issuecomment-1054516397
turolla casehttps://www.typescriptlang.org/play?ts=4.5.4#code/C4TwDgpgBAYglgG2BAThAJgaQiAzgHgBUAaKAVQD4oBeKAbygG0AFKOAOygGscB7AMyiEAugC4hLYVAgAPZO3S5yUAPxRW49hABuqKAF9GPEAKHCA3AFgAUDdCRYvXgElkAWyJVahaXIgKldgBXNwAjPTUGbQBDBCCIcR99KHEghQh+DgwrW2t7aBgnAFlosE8aIV95RTZ2fj1CHxsoFtV6ZtaAek6mY1ruPkERcUKXdyIjHGEqKG6ofABaBaEACzglAHdeFC5cDpbJkH74JFQMbDwiUmCw1AoxRzGID0JD6Za5xeXCNaV0XgguHYAHJgFAtjt9gYoZodKgbDYAMYIaK4JQAIWiKHa1laUGiFQAjDk8aEKgAmEmtREVYHA8x4hG41r-ADKvDcEGAa3YAHMABQAShxeLxiN47FwYP4xVKI1lZW56y8UDS6AyWXQAEIGXMAPJuODAZDoAB05qhYolUvxFRlvBKYFN0VNMTiEF1PS+UAAcrxpCgUNtfJBESbLdTrWCabR7Y7TYjXbF4p75ksoABRQPB2Sh8PMlr6GxF3LiyXShXk+UO0r4TEoFVqjVabWpg1Gk3m01IqO22OV51J92p71+gNB7G5iBhjA98tQGNQOOlckJocp2Ze9NZich6f5oA
ziofat casehttps://www.typescriptlang.org/play?ts=4.2.3#code/C4TwDgpgBAcg9gOwGIFcEGNgEtEEMA2APACoB8UAvFMVBAB7AQIAmAzlFggGYQBO1xALAAoKGKgB+KAG8R4+VADaAaQ4IoAawgg4XalFztiKgLq0GTNlFQZsiSVAQQAbnygAuKMpOeAonXR8FGYIElMAGms0TBwEUgBuOXEAXySxTydXXhEc4U5GXi5cdGgAYUQuLABzGTTHXABbCE9WYF5OKsTRcXQCfAAjYo1PAAoASkpyZzgsZi75Bqw6T364OHwIXHUAHygR8cmoVfXNhDGu1OERQMN2AFkt3Cq+QlLzRhZ2cu5q8llusToRCtXgoTBwXgjIE-KqeeDIaJ2BAEV6kCb-BQ9YEnAB0+DgVShFWqOORTXOdXk0NYuPxhOhlSqON6+AGQwpAIU1NpBKJMJxizoHPkl0uuREQA
Egor Andreyuk (@aspic-fish)https://github.com/aspic-fish
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.6.1https://github.com/microsoft/TypeScript/milestone/158
TypeScript 4.8.0https://github.com/microsoft/TypeScript/milestone/163
on May 13, 2022https://github.com/microsoft/TypeScript/issues/38646#event-6608005155
https://github.com/edvald
Jon Edvald (edvald)https://github.com/edvald
on Jul 11, 2022https://github.com/microsoft/TypeScript/issues/38646#issuecomment-1181120676
Albert (@Orzelius)https://github.com/Orzelius
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.8.0https://github.com/microsoft/TypeScript/milestone/163
TypeScript 5.1.0https://github.com/microsoft/TypeScript/milestone/178
on Feb 1, 2023https://github.com/microsoft/TypeScript/issues/38646#event-8413680394
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 15, 2023https://github.com/microsoft/TypeScript/issues/38646#issuecomment-1430594515
#48992https://github.com/microsoft/TypeScript/issues/48992
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%22
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
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
on Feb 15, 2023https://github.com/microsoft/TypeScript/issues/38646#event-8521025910
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Wesley Wigham (weswigham)https://github.com/weswigham
on Feb 15, 2023https://github.com/microsoft/TypeScript/issues/38646#event-8521026109
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 5.1.0https://github.com/microsoft/TypeScript/milestone/178
on Feb 15, 2023https://github.com/microsoft/TypeScript/issues/38646#event-8521026235
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 17, 2023https://github.com/microsoft/TypeScript/issues/38646#event-8549637040
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
on Feb 17, 2023https://github.com/microsoft/TypeScript/issues/38646#issuecomment-1435042724
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/38646#event-20416965795
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/38646
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/38646
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%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.