René's URL Explorer Experiment


Title: Using keyof with key remapping to exclude index signatures doesn't return known keys · Issue #41966 · microsoft/TypeScript · GitHub

Open Graph Title: Using keyof with key remapping to exclude index signatures doesn't return known keys · Issue #41966 · microsoft/TypeScript

X Title: Using keyof with key remapping to exclude index signatures doesn't return known keys · Issue #41966 · microsoft/TypeScript

Description: TypeScript Version: 4.2.0-dev.20201211 Search Terms: key remapping remap index signature keyof returns number Code type Compute = { [K in keyof A]: Compute; } & {}; type EqualsTest = () => A extends T ? 1 : 0; type Equals<...

Open Graph Description: TypeScript Version: 4.2.0-dev.20201211 Search Terms: key remapping remap index signature keyof returns number Code type Compute = { [K in keyof A]: Compute; } & {}; type EqualsTest =

X Description: TypeScript Version: 4.2.0-dev.20201211 Search Terms: key remapping remap index signature keyof returns number Code type Compute<A> = { [K in keyof A]: Compute<A[K]>; } & {}; type Eq...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using keyof with key remapping to exclude index signatures doesn't return known keys","articleBody":"\u003c!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease fill in the *entire* template below.\r\n-->\r\n\r\n\u003c!--\r\nPlease try to reproduce the issue with the latest published version. It may have already been fixed.\r\nFor npm: `typescript@next`\r\nThis is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly\r\n-->\r\n**TypeScript Version:**  4.2.0-dev.20201211\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\n\r\nkey remapping\r\nremap index signature\r\nkeyof returns number\r\n\r\n**Code**\r\n\r\n```ts\r\ntype Compute\u003cA> = { [K in keyof A]: Compute\u003cA[K]>; } & {};\r\n\r\ntype EqualsTest\u003cT> = \u003cA>() => A extends T ? 1 : 0;\r\ntype Equals\u003cA1, A2> = EqualsTest\u003cA2> extends EqualsTest\u003cA1> ? 1 : 0;\r\n\r\ntype Filter\u003cK, I> = Equals\u003cK, I> extends 1 ? never : K;\r\n\r\ntype OmitIndex\u003cT, I extends string | number> = {\r\n  [K in keyof T as Filter\u003cK, I>]: T[K];\r\n};\r\n\r\ntype IndexObject = { [key: string]: unknown; };\r\ntype FooBar = { foo: \"hello\"; bar: \"world\"; };\r\n\r\ntype WithIndex = Compute\u003cFooBar & IndexObject>;   // { [x: string]: {}; foo: \"hello\"; bar: \"world\"; } \u003c-- OK\r\ntype WithoutIndex = OmitIndex\u003cWithIndex, string>; // { foo: \"hello\"; bar: \"world\"; }                  \u003c-- OK\r\n\r\ntype FooBarKey = keyof FooBar;             // \"foo\" | \"bar\"   \u003c-- OK\r\ntype WithIndexKey = keyof WithIndex;       // string | number \u003c-- Expected: string \r\ntype WithoutIndexKey = keyof WithoutIndex; // number          \u003c-- Expected: \"foo\" | \"bar\"\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nUsing `keyof` with the above remapped type (`WithoutIndex`) should return the known keys (i.e. `\"foo\" | \"bar\"`).\r\n\r\n**Actual behavior:**\r\n\r\nWhile the key remapping in `OmitIndex` appears to successfully omit the string index signature (e.g. `OmitIndex\u003cWithIndex, string> --> { foo: \"hello\"; bar: \"world\"; }`); using `keyof` with the resulting type returns `number`.\r\n\r\n**Playground Link:** \u003c!-- A link to a TypeScript Playground \"Share\" link which demonstrates this behavior -->\r\n\r\nhttps://www.typescriptlang.org/play?ts=4.2.0-dev.20201211#code/C4TwDgpgBAwg9gWzAV2BAPAQQHxQLxQDeUA2gNJQCWAdlANYQhwBmUmAugFyyIppbl22ANxQAvlABkRMcIBQc0JCgBRAI7IAhgBsAzgBUIu4On24CWbAAoAlPlyYoEAB5pqAE11R9UAPxQARihuAAZ5JWh1LT0sAIAaNgAmc1UNHQMjE0xkp1cIDy8o9MNjWNx-IND5RXBoADFKbTQAJ3QyBIBJFKKY9qgu3LdPQL8oaggANwhm4KgyaoioAHkESmAOjxdTTsH84eNmmgBzKAAfMeQEACNplMI5KFIKGnpGFm8oTS8Gpum2zuwXG8gnksgUiw27hcSyuACsIABjYD4IikBggbgHY5A5DUOjUOAAd2oojBizqcDgACFNDMCMRmJTuAAiAAWEG02jgzNEV1pLMJcGa2ncPPEC1qUAA6mtWZCXCj4EhUBgKdTaVJ+ptnDD4UiRI8oAB6I2okjOTHAQ7UI5AwiyKCMuAs9mc7m8-lQZmC4Wi0lQdAAWkDyzINWUMuArLgqHlzhRKzWcfQkbl2oSWJtBpNqKdLo5XLFfOaAqFIrFEkNVer1aDIaWYfD9UpNOaZEYKPR7zVrdENZrOeZTuZZy9xZHjzroab0tlcfbIE7b1YqbjferOczJ3O1EuNxmU5UzkgSIg7kt1pOM9TMfW2oXS6YK9lt7XxtNu+u037hsPx8RaDnl6w6jsy45yEAA\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/31143\r\nhttps://github.com/microsoft/TypeScript/issues/41383\r\nhttps://github.com/microsoft/TypeScript/issues/38646\r\n","author":{"url":"https://github.com/tim-stasse","@type":"Person","name":"tim-stasse"},"datePublished":"2020-12-15T14:26:59Z","url":"https://github.com/microsoft/TypeScript/issues/41966"}

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:3635d3ce-0f07-3193-39f6-5d7428034873
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBA6C:363D8E:2DAD0D1:39EE03E:6B01A1FB
html-safe-noncec12ab7d61fe1b31162bc9bf68d3ff6009e89ede1670a386786db46b94d74c7ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTZDOjM2M0Q4RToyREFEMEQxOjM5RUUwM0U6NkIwMUExRkIiLCJ2aXNpdG9yX2lkIjoiOTA1MzgxNDc0MzE5MDQ5MjExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf9e560999c100e786563944bc80582e8d1a7ba09f9aba0573ef9ba748ed3ddc3
hovercard-subject-tagissue:767649200
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/41966/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0e84fc199552fbd467ef9cdf760ec30113d5338072a7134d33e3f9c0c9ad3f87/microsoft/TypeScript/issues/41966
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0e84fc199552fbd467ef9cdf760ec30113d5338072a7134d33e3f9c0c9ad3f87/microsoft/TypeScript/issues/41966
og:image:altTypeScript Version: 4.2.0-dev.20201211 Search Terms: key remapping remap index signature keyof returns number Code type Compute = { [K in keyof A]: Compute; } & {}; type EqualsTest =
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametim-stasse
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/41966#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F41966
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%2F41966
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/41966
Reloadhttps://github.com/microsoft/TypeScript/issues/41966
Reloadhttps://github.com/microsoft/TypeScript/issues/41966
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/41966
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/41966
#41976https://github.com/microsoft/TypeScript/pull/41976
Using keyof with key remapping to exclude index signatures doesn't return known keyshttps://github.com/microsoft/TypeScript/issues/41966#top
#41976https://github.com/microsoft/TypeScript/pull/41976
https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 4.2.1https://github.com/microsoft/TypeScript/milestone/131
https://github.com/tim-stasse
Timothy Stasse (tim-stasse)https://github.com/tim-stasse
on Dec 15, 2020https://github.com/microsoft/TypeScript/issues/41966#issue-767649200
https://www.typescriptlang.org/play?ts=4.2.0-dev.20201211#code/C4TwDgpgBAwg9gWzAV2BAPAQQHxQLxQDeUA2gNJQCWAdlANYQhwBmUmAugFyyIppbl22ANxQAvlABkRMcIBQc0JCgBRAI7IAhgBsAzgBUIu4On24CWbAAoAlPlyYoEAB5pqAE11R9UAPxQARihuAAZ5JWh1LT0sAIAaNgAmc1UNHQMjE0xkp1cIDy8o9MNjWNx-IND5RXBoADFKbTQAJ3QyBIBJFKKY9qgu3LdPQL8oaggANwhm4KgyaoioAHkESmAOjxdTTsH84eNmmgBzKAAfMeQEACNplMI5KFIKGnpGFm8oTS8Gpum2zuwXG8gnksgUiw27hcSyuACsIABjYD4IikBggbgHY5A5DUOjUOAAd2oojBizqcDgACFNDMCMRmJTuAAiAAWEG02jgzNEV1pLMJcGa2ncPPEC1qUAA6mtWZCXCj4EhUBgKdTaVJ+ptnDD4UiRI8oAB6I2okjOTHAQ7UI5AwiyKCMuAs9mc7m8-lQZmC4Wi0lQdAAWkDyzINWUMuArLgqHlzhRKzWcfQkbl2oSWJtBpNqKdLo5XLFfOaAqFIrFEkNVer1aDIaWYfD9UpNOaZEYKPR7zVrdENZrOeZTuZZy9xZHjzroab0tlcfbIE7b1YqbjferOczJ3O1EuNxmU5UzkgSIg7kt1pOM9TMfW2oXS6YK9lt7XxtNu+u037hsPx8RaDnl6w6jsy45yEAAhttps://www.typescriptlang.org/play?ts=4.2.0-dev.20201211#code/C4TwDgpgBAwg9gWzAV2BAPAQQHxQLxQDeUA2gNJQCWAdlANYQhwBmUmAugFyyIppbl22ANxQAvlABkRMcIBQc0JCgBRAI7IAhgBsAzgBUIu4On24CWbAAoAlPlyYoEAB5pqAE11R9UAPxQARihuAAZ5JWh1LT0sAIAaNgAmc1UNHQMjE0xkp1cIDy8o9MNjWNx-IND5RXBoADFKbTQAJ3QyBIBJFKKY9qgu3LdPQL8oaggANwhm4KgyaoioAHkESmAOjxdTTsH84eNmmgBzKAAfMeQEACNplMI5KFIKGnpGFm8oTS8Gpum2zuwXG8gnksgUiw27hcSyuACsIABjYD4IikBggbgHY5A5DUOjUOAAd2oojBizqcDgACFNDMCMRmJTuAAiAAWEG02jgzNEV1pLMJcGa2ncPPEC1qUAA6mtWZCXCj4EhUBgKdTaVJ+ptnDD4UiRI8oAB6I2okjOTHAQ7UI5AwiyKCMuAs9mc7m8-lQZmC4Wi0lQdAAWkDyzINWUMuArLgqHlzhRKzWcfQkbl2oSWJtBpNqKdLo5XLFfOaAqFIrFEkNVer1aDIaWYfD9UpNOaZEYKPR7zVrdENZrOeZTuZZy9xZHjzroab0tlcfbIE7b1YqbjferOczJ3O1EuNxmU5UzkgSIg7kt1pOM9TMfW2oXS6YK9lt7XxtNu+u037hsPx8RaDnl6w6jsy45yEAA
#31143https://github.com/microsoft/TypeScript/issues/31143
#41383https://github.com/microsoft/TypeScript/issues/41383
#38646https://github.com/microsoft/TypeScript/issues/38646
Nexthttps://github.com/microsoft/TypeScript/issues/41966?timeline_page=1
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Dec 15, 2020https://github.com/microsoft/TypeScript/issues/41966#event-4115708232
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Dec 15, 2020https://github.com/microsoft/TypeScript/issues/41966#issuecomment-745434551
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Wesley Wigham (weswigham)https://github.com/weswigham
on Dec 15, 2020https://github.com/microsoft/TypeScript/issues/41966#event-4115712742
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.2.1https://github.com/microsoft/TypeScript/milestone/131
on Dec 15, 2020https://github.com/microsoft/TypeScript/issues/41966#event-4115712967
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
on Dec 15, 2020https://github.com/microsoft/TypeScript/issues/41966#event-4116599483
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Jan 11, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-758187996
#41713https://github.com/microsoft/TypeScript/pull/41713
Playground linkhttps://www.typescriptlang.org/play?ts=4.2.0-dev.20210111#code/C4TwDgpgBAsghmA0gOwPYHdmIiAzgHgBUA+KAXigG8AoKOgbUSgEtkoBrHVAMykKji4ouYACdWAcygQAHsAjIAJkKYB+KMggA3CKKgAuDQFcAtgCNd0uQuVQ1G7ZcOIAuoZHjkEgNzUAvtTUrPKi3HAAxtAAYqioVLR0cIbIphaiADQJUGbJqbqZdFD07O5ikm5QRsjsaJi+AdSgkLAIkIoxcRTwSLVYOAQdxL4A9ABUUE3Q3W0d5PGFAqWePlnZS5L1UKPD1OGoyCJQJq0Q7bGG06ezFDSFSVAARA8FdDmPz-7eUMM7jeDQ2DwAHluJczp0OFxeGCOiNhhN-nZ+iCYbE5podHpALwbgFKd3b7Q73QG4FEncFzB5wB5fH7SUSiVCiACE1FphQAflB8ABabl8REAcg8kgFLCEaGAAlwuGYEmQcDMABtoMA4pMoAKMboBYFqEA
Wesley Wigham (weswigham)https://github.com/weswigham
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#41976https://github.com/microsoft/TypeScript/pull/41976
on Jan 27, 2021https://github.com/microsoft/TypeScript/issues/41966#event-4258055526
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778472638
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778473921
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778480412
Wesley Wigham (@weswigham)https://github.com/weswigham
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778489936
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778497701
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778497928
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778499220
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778500470
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778507052
#25260https://github.com/microsoft/TypeScript/issues/25260
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778508236
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778510210
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778511599
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 12, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778513830
https://github.com/tim-stasse
Timothy Stasse (tim-stasse)https://github.com/tim-stasse
on Feb 13, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778527429
Asad Saeeduddin (@masaeedu)https://github.com/masaeedu
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 13, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778530519
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 13, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778531571
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 13, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778535093
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 13, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778537439
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Feb 13, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778542866
https://github.com/tim-stasse
Timothy Stasse (tim-stasse)https://github.com/tim-stasse
on Feb 13, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778569615
Asad Saeeduddin (@masaeedu)https://github.com/masaeedu
https://github.com/tim-stasse
Timothy Stasse (tim-stasse)https://github.com/tim-stasse
on Feb 15, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-778949069
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Wesley Wigham (@weswigham)https://github.com/weswigham
Playground Linkhttps://www.typescriptlang.org/play?ts=4.3.0-dev.20210214#code/C4TwDgpgBAwg9gWzAV2BAPAQQHxQLxQDeUA2gNJQCWAdlANYQhwBmUmAugFyyIppbl22ANxQAvlABkRMcIBQc0JCgBRAI7IAhgBsAzgBUIu4On24CWbAAoAlPlyYoEAB5pqAE11R9UAPxQARihuAAZ5JWh1LT0sAIAaNgAmc1UNHQMjE0xkp1cIDy8o9MNjWNx-IND5RXBoADFKbTQAJ3QyBIBJFKKY9qgu3LdPQL8oaggANwhm4KgyaoioAHkESmAOjxdTTsH84eNmmgBzKAAfMeQEACNplMI5KFIKGnpGFm8oTS8Gpum2zuwXG8gnksgUixWaw27hciW2-V2BSgB2OZwu11u+ARLiGXmQ1Do1DgAHdaP57o9yFRaAwmKwfF8oD8Wv9+oDuPoQXIJNxxlNmgtalAAMrAQ7UI7QlxLK4AKwgAGNgFjiCRadwURKgYRZOJwkKAHKXG7NKXOGXypUq0jq9Em7W6sGLM0WxXKgjwJCoDCi8WSzbmuVuqRQI0Y00B11KkTgoV1OBwABCmhmBGIzAT3AARAALCDabRwLOiK4p7PEuDNbTuYt6mrKeNJlMha0ZuDZvMFoslstQLMVqs10QhbMhLN1xaN5PNIJpqBtjv5w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N7CKJpjqi5CPp4ce8lDMivDTC59X06VSjMcZj-DIdmw6DYcoUQ4CZicwiycgsyD-MY8SYyd6dbJGcQ8KjwS2ds0OcFMs8edR8+ihDEU91VjDJOiLcH888kSmiG9UTWjhjV9QsTwVd3cJjmMlFwTNc2ZHUdcF0CCKCliBiTUhcS9ep1jz9mjL090iS9j-VVdndjjSS3daSCcLivc0jY1-jLMoiTjg9BT4iAiTiySxSuVoUpTY8vJjDATMsLDwiwSpjZCU8pi08rl1UUiJTuiGjdRh8cTGimTuSCTBi2iV8sjMTxcICtQq9c8N1cTHT8SAMTU+TRjtMp5KS2NqSWCD95084ESei11ESHTFinSgyXtr9OSuDUzKMXSQylcRSN8t8Iyd8oyONZi2DDCOEQkMFJt10JZ88AyBceSVjeCcIyDwDfT6z-SUzAyczgyRDiEbiHEazrTK9uzdteztj0TUsgYwDay2Cdt68mznT+yAcaCSTHDYt290CIzH0CyJD98WFcDYzGSezly0zJ92i1iPTvsszJzeSBy9igj8s1caFdyCjZDjzbg5jRBTyJzzy+z0yrzHZMzkTmTmzczHz+SJN+stCXd9yzRxsEsKze8hzbjjInjGUjMdNXiDlNypo9DHJLjZ1ribjdTfj9TQTMLxDsLXMlS3iVTtNnD4Sas3C-i-dP85SzIsKkCUD6K8Lny0M6jo8fcQSOLPDyK2LKK-doKaKkC4i4LhT8LJlhKJU0K2ybzWLNSxKDs5AgA
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 16, 2021https://github.com/microsoft/TypeScript/issues/41966#issuecomment-780188369
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/41966#event-20417354903
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/41966
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/41966
Wesley Wigham (weswigham)https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 4.2.1https://github.com/microsoft/TypeScript/milestone/131
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.