René's URL Explorer Experiment


Title: Typing for object deep paths · Issue #12290 · microsoft/TypeScript · GitHub

Open Graph Title: Typing for object deep paths · Issue #12290 · microsoft/TypeScript

X Title: Typing for object deep paths · Issue #12290 · microsoft/TypeScript

Description: Recently introduces keyof operator will work well for typing functions that accept properties directly on target type. interface Some { a: number, b: string } type oneOfTheSomeKeys = keyof Some // restricts value to "a", "b" What do you ...

Open Graph Description: Recently introduces keyof operator will work well for typing functions that accept properties directly on target type. interface Some { a: number, b: string } type oneOfTheSomeKeys = keyof Some // ...

X Description: Recently introduces keyof operator will work well for typing functions that accept properties directly on target type. interface Some { a: number, b: string } type oneOfTheSomeKeys = keyof Some // ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Typing for object deep paths","articleBody":"Recently introduces [`keyof`](https://github.com/Microsoft/TypeScript/pull/11929#issuecomment-260856694) operator will work well for typing functions that accept properties directly on target type.\r\n\r\n```ts\r\ninterface Some {\r\n  a: number,\r\n  b: string\r\n}\r\n\r\ntype oneOfTheSomeKeys = keyof Some // restricts value to \"a\", \"b\"\r\n```\r\n What do you think, is it possible in theory to type deeply nested paths, so that for type:\r\n```ts\r\ninterface Some {\r\n  a: number,\r\n  b: {\r\n    c: number\r\n    d: {\r\n      e: number\r\n    }\r\n  }\r\n}\r\n```\r\nso that it would be possible to restrict possible path values to:\r\n\r\n```\r\n[\"a\"]\r\n[\"b\"]\r\n[\"b\", \"c\"]\r\n[\"b\", \"d\"]\r\n[\"b\", \"d, \"e\"]\r\n```\r\nThis actual for such methods like [ramda's `path`](http://ramdajs.com/docs/#path):\r\n```js\r\nR.path(['a', 'b'], {a: {b: 2}}); //=> 2\r\nR.path(['a', 'b'], {c: {b: 2}}); //=> undefined\r\n```\r\n?","author":{"url":"https://github.com/wclr","@type":"Person","name":"wclr"},"datePublished":"2016-11-16T05:32:21Z","url":"https://github.com/microsoft/TypeScript/issues/12290"}

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:695e3d84-1251-b90d-6882-518947b23c08
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE888:C2718:AD8FCB:E1CF6F:6B00EA1A
html-safe-nonce9b2b83688c5d0c58ac1c2af452d6a429fa7f81de71e13389429332e5a19888f3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODg4OkMyNzE4OkFEOEZDQjpFMUNGNkY6NkIwMEVBMUEiLCJ2aXNpdG9yX2lkIjoiMzQzNzk0MzY0Mzc0MTE1MzgxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7289bd9e28b2be1b58ef51ddb67236caee92f6168b7cb62c00f936aaefa0b89f
hovercard-subject-tagissue:189595168
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/12290/issue_layout
twitter:imagehttps://opengraph.githubassets.com/912a6074d2d3bda674bf9664f5e618ab448ecfcaaa035a8c31be2f499363a02f/microsoft/TypeScript/issues/12290
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/912a6074d2d3bda674bf9664f5e618ab448ecfcaaa035a8c31be2f499363a02f/microsoft/TypeScript/issues/12290
og:image:altRecently introduces keyof operator will work well for typing functions that accept properties directly on target type. interface Some { a: number, b: string } type oneOfTheSomeKeys = keyof Some // ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewclr
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/12290#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F12290
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%2F12290
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/12290
Reloadhttps://github.com/microsoft/TypeScript/issues/12290
Reloadhttps://github.com/microsoft/TypeScript/issues/12290
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/12290
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/12290
Typing for object deep pathshttps://github.com/microsoft/TypeScript/issues/12290#top
QuestionAn issue which isn't directly actionable in codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Question%22
https://github.com/wclr
Alex (wclr)https://github.com/wclr
on Nov 16, 2016https://github.com/microsoft/TypeScript/issues/12290#issue-189595168
keyofhttps://github.com/Microsoft/TypeScript/pull/11929#issuecomment-260856694
ramda's pathhttp://ramdajs.com/docs/#path
Nexthttps://github.com/microsoft/TypeScript/issues/12290?timeline_page=1
https://github.com/HerringtonDarkholme
Herrington Darkholme (HerringtonDarkholme)https://github.com/HerringtonDarkholme
on Nov 16, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-260909643
https://github.com/wclr
Alex (wclr)https://github.com/wclr
on Nov 16, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-260945535
Herrington Darkholme (@HerringtonDarkholme)https://github.com/HerringtonDarkholme
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
QuestionAn issue which isn't directly actionable in codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Question%22
on Nov 16, 2016https://github.com/microsoft/TypeScript/issues/12290#event-861661894
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Nov 16, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-261104336
Herrington Darkholme (@HerringtonDarkholme)https://github.com/HerringtonDarkholme
https://github.com/KiaraGrouwstra
kiara (KiaraGrouwstra)https://github.com/KiaraGrouwstra
on Dec 11, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-266263067
Herrington Darkholme (@HerringtonDarkholme)https://github.com/HerringtonDarkholme
https://github.com/wclr
Alex (wclr)https://github.com/wclr
on Dec 11, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-266266378
https://github.com/KiaraGrouwstra
kiara (KiaraGrouwstra)https://github.com/KiaraGrouwstra
on Dec 11, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-266267166
https://github.com/wclr
Alex (wclr)https://github.com/wclr
on Dec 11, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-266271862
https://github.com/KiaraGrouwstra
kiara (KiaraGrouwstra)https://github.com/KiaraGrouwstra
on Dec 11, 2016https://github.com/microsoft/TypeScript/issues/12290#issuecomment-266285854
Renamed in favour of (@whitecolor)https://github.com/whitecolor
1~7https://github.com/donnut/typescript-ramda/commit/9c333930b5636a5c7a5fe4d7fcb3e975dd116638
https://github.com/wclr
Alex (wclr)https://github.com/wclr
on Mar 24, 2017https://github.com/microsoft/TypeScript/issues/12290#issuecomment-288943962
Herrington Darkholme (@HerringtonDarkholme)https://github.com/HerringtonDarkholme
https://github.com/KiaraGrouwstra
kiara (KiaraGrouwstra)https://github.com/KiaraGrouwstra
on Mar 24, 2017https://github.com/microsoft/TypeScript/issues/12290#issuecomment-288947211
Renamed in favour of (@whitecolor)https://github.com/whitecolor
proposalhttps://github.com/Microsoft/TypeScript/issues/12512
https://github.com/wclr
Alex (wclr)https://github.com/wclr
on Mar 24, 2017https://github.com/microsoft/TypeScript/issues/12290#issuecomment-288948110
https://github.com/HerringtonDarkholme
Herrington Darkholme (HerringtonDarkholme)https://github.com/HerringtonDarkholme
on Mar 24, 2017https://github.com/microsoft/TypeScript/issues/12290#issuecomment-288961340
Renamed in favour of (@whitecolor)https://github.com/whitecolor
https://www.typescriptlang.org/play/index.html#src=function%20checkTypesOfKeys%3C%0D%0A%20%20KeyS%20extends%20string%2C%20KeyN%20extends%20string%3E%0D%0A%20%20(keyS%3A%20KeyS%2C%20keyN%3A%20KeyN)%3A%20(obj%3A%20%7B%5BK%20in%20KeyS%5D%3A%20string%7D%20%26%20%7B%5BK%20in%20KeyN%20%5D%3A%20number%7D)%20%3D%3E%20boolean%20%2F%2F%20this%20doesn%27t%20work%0D%0A%7B%0D%0A%20%20return%20(obj)%20%3D%3E%20typeof%20(%3Cany%3Eobj)%5BkeyS%5D%20%3D%3D%3D%20%27string%27%0D%0A%20%20%20%20%26%26%20typeof%20(%3Cany%3Eobj)%5BkeyN%5D%20%3D%3D%3D%20%27number%27%0D%0A%7D%0D%0A%0D%0AcheckTypesOfKeys(%27str%27%2C%20%27num%27)(%7Bstr%3A%20%27stringValue%27%2C%20num%3A%201%7D)https://www.typescriptlang.org/play/index.html#src=function%20checkTypesOfKeys%3C%0D%0A%20%20KeyS%20extends%20string%2C%20KeyN%20extends%20string%3E%0D%0A%20%20(keyS%3A%20KeyS%2C%20keyN%3A%20KeyN)%3A%20(obj%3A%20%7B%5BK%20in%20KeyS%5D%3A%20string%7D%20%26%20%7B%5BK%20in%20KeyN%20%5D%3A%20number%7D)%20%3D%3E%20boolean%20%2F%2F%20this%20doesn%27t%20work%0D%0A%7B%0D%0A%20%20return%20(obj)%20%3D%3E%20typeof%20(%3Cany%3Eobj)%5BkeyS%5D%20%3D%3D%3D%20%27string%27%0D%0A%20%20%20%20%26%26%20typeof%20(%3Cany%3Eobj)%5BkeyN%5D%20%3D%3D%3D%20%27number%27%0D%0A%7D%0D%0A%0D%0AcheckTypesOfKeys(%27str%27%2C%20%27num%27)(%7Bstr%3A%20%27stringValue%27%2C%20num%3A%201%7D)
https://github.com/wclr
Alex (wclr)https://github.com/wclr
on Mar 24, 2017https://github.com/microsoft/TypeScript/issues/12290#issuecomment-289017742
Herrington Darkholme (@HerringtonDarkholme)https://github.com/HerringtonDarkholme
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 24, 2017https://github.com/microsoft/TypeScript/issues/12290#event-1055524769
https://github.com/lostpebble
Paul Myburgh (lostpebble)https://github.com/lostpebble
on Jul 20, 2019https://github.com/microsoft/TypeScript/issues/12290#issuecomment-513502828
Chet Corcos (@ccorcos)https://github.com/ccorcos
https://github.com/andriy-kudrya
andriy-kudryahttps://github.com/andriy-kudrya
on Oct 12, 2019https://github.com/microsoft/TypeScript/issues/12290#issuecomment-541321411
Chet Corcos (@ccorcos)https://github.com/ccorcos
examplehttp://www.typescriptlang.org/play/?ssl=36&ssc=31&pln=36&pc=61#code/LAKAlgdgLgpgTgMwIYGMYAIByMAeUCS06A3qAJAAMAXOgIzm00BM5TNAzOezQCzk80ArOQDacGAGcoNCAFcAtgCN4AXRkLlcUAF9QoAPT70AB3FQoYeAFowAcwgB7caCgBPYxgAKSKAAsAKu4wADwA8ooAVgA06N5+6LiwEAAmEugASjBIyQ4QADauAIJwcEiuwVJwkLboAD7ockrwAHwxhMm4CXgwKWmNmugAvOgUzUMk5IZYMDDJ6FAO6LISGH5gaQ6RMChQ6JAdONUmPrBwEPOLSABuDmBzKGBwKLJ5SHDo4gjwPWgJJU4AOlEAGkYK49ud2rg1LEfL4RKDXCouklUksUjAEJBZuQyFNMlBZGd0OEIugAO6+HoUjDiVC+eZUhIpdAOBCMrxwoEgMhkAD8JMiuKmAGEqSgANZ7dl+DCIvZpSAcwURbm8mhxeGI5GJHpoiVgtkq3F4oz4GVMgBqSDysgwOUkDQcuxQuSgSCVcjyeTVvKmAAN-OgAGQkbT+hXoJDzKqSi4fGDyBxXDCyDFYiCzdAIOAOeRR9FgXLzIK+-kqkSahFglQ67q9CtV7XI0PEXQ83nlzWBDzBE2d0mVuHVpEqKL93ma8cdztkACieFKO2C2DwhCgI7HDQ0LQnzX7+MTydWTLTHQzWZzeeV1ttMBiSBZ2TmYF2C2VaaL5yQCFOZbINBnpi2JzPU3ZBH2M4DpEQ5+JuLZhtOs6TnCSHIQuUBLlAK6JOum4xP0u5QWQ+4zjIMAploIDaCIUI4CoeggAgaY7F+6C2DAUCamEMSeCieppJk2S5AUxSlOUhHvPUlTVM0zQABTkA4NChEhxgaqAACUNDyZpQxjOBvaqbEYykDyZhEucbZRmkj6uDojGQKcyC-AAEpYpRPL44JmegfnzIkNAyRAtigP56Cumm0jbk0VHhcs8A0L54X+RASDyDAQWYdUYUpX58hvFUsw0IoDgOHkWQQLleVIBxNC0AAHNVKW+HmmUTCAeU1ckyTiBIEgADLYllVQhc14XthNDkgKAHQoK84gRbkUjoL4HlvCg3k0O58Abd5jGuhAK19S8uzDBxXFwvJa27V5rgxCIADkCVwI9MSPa1GVvegj3Pn1g3Yo9yJIGkh1SJpulAA
https://github.com/ScreamZ
Andréas Hanss (ScreamZ)https://github.com/ScreamZ
on Jan 5, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-570936995
https://github.com/hsource
Harry Yu (hsource)https://github.com/hsource
on Apr 23, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-618588651
https://github.com/lolmaus
Andrey Mikhaylov (lolmaus) (lolmaus)https://github.com/lolmaus
on Apr 24, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-618907152
https://github.com/bsalex/typed-path/https://github.com/bsalex/typed-path/
https://github.com/agalazis
Andreas Galazis (agalazis)https://github.com/agalazis
on Apr 29, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-621419689
…https://github.com/microsoft/TypeScript/issues/12290
https://github.com/bsalex/typed-path/https://github.com/bsalex/typed-path/
#12290 (comment)https://github.com/microsoft/TypeScript/issues/12290#issuecomment-618907152
https://github.com/notifications/unsubscribe-auth/AAPNSTMF7SC4AR4EMFCWFHTROFL3VANCNFSM4CWNS4SQhttps://github.com/notifications/unsubscribe-auth/AAPNSTMF7SC4AR4EMFCWFHTROFL3VANCNFSM4CWNS4SQ
https://github.com/lostpebble
Paul Myburgh (lostpebble)https://github.com/lostpebble
on Jun 5, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-639406102
JSON Patchhttps://tools.ietf.org/html/rfc6902
"patches"https://immerjs.github.io/immer/docs/patches
https://github.com/ccorcos
Chet Corcos (ccorcos)https://github.com/ccorcos
on Jun 5, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-639622207
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/jameslaneconkling
James Conkling (jameslaneconkling)https://github.com/jameslaneconkling
on Jun 5, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-639658140
Object.Pathhttps://pirix-gh.github.io/ts-toolbelt/modules/_object_path_.html
https://github.com/hrsh7th
hrsh7th (hrsh7th)https://github.com/hrsh7th
on Sep 1, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-684164177
#40336https://github.com/microsoft/TypeScript/pull/40336
https://github.com/fxlrnrpt
Andrey Goncharov (fxlrnrpt)https://github.com/fxlrnrpt
on Dec 25, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-751221502
Playgroundhttps://www.typescriptlang.org/play?ts=4.2.0-dev.20201224#code/C4TwDgpgBAogHsATgQwMbAPICMBWAeAZSggQgDsATAZygHtcJ0AaKAaQD4oBeN40ymgGsIIWgDMoRAPySA2qwC6UAFxQyEAG4REAKB2hIUAArJgAC0J9g5anQbMoAFSs2aiCMgq0yAGxBQAVzJBMloAdzJZBU4uHSh4pxcBKHdPbz8oWQBLMjFtJwAGFgA6Upy8xCcAJQU4hJlHKqTbKLqE+tgEFHRsfAIWRwLOEmtk9S1ddqmO1K9ff1bp6dVZ9IXB2qWVTqQ0TFxCAaHmmnocRmA2ragZVfnMwZLSk3M8eF2eg-7C9gGq9k213iqne3X2fSOw34tnG2iuQPitw8cwyiwR7RWyLWDwKgOBKSx91aOlQPmQVBoBGAtHclhGrjs53QnAA3lcqAEsFRUIgslgIHhnPTkncMkEQuFItEABRgUxmVRC6E0F4Wb6OTgNbawxAASigLIAvjpjfpwNAqTSIPBkABbMA+aA8NntMCIWhgACMqhdS3UVGsFG9BvhfogAYgQeQqgDvLIAHNQ9N-YHPVhVGQArb+ZMlsb2vmEm6PQAmH1JtThwMlgqqLC0WiO5BkCspyMl4O+oFtigd6NqLM5iuF+LG02obwBqABq3cSthSTU2mW9w2+2O9jS3V6GfuYocrk8vkQaWyADkxa9Z6U5KgE7IAe3u4g+853N5-NPF-dV5YZ57npnn+AHINeUC3vej46M+r6Hh+J7npeJZAVA-5Vu2BRgRBk7AE+S4vge77Hl+SEoWhEa9oBwHoZRoE3jQkG4XoAD0zFQAAkmQGjID4WQUNB+GwURn6IT+ADMWEMTheFWkJR4id+HpUahPY1pJd7SQJsmEfJCGKb+Kk0cp5GpqBf5ULQtoQOYOTxupjG6kAA
https://github.com/noahseger
Noah Seger (noahseger)https://github.com/noahseger
on Dec 28, 2020https://github.com/microsoft/TypeScript/issues/12290#issuecomment-751880801
aigoncharovhttps://github.com/aigoncharov
Updated Playgroundhttps://www.typescriptlang.org/play?ts=4.2.0-dev.20201224#code/C4TwDgpgBAogHsATgQwMbAPICMBWAeAZSggQgDsATAZygHtcJ0AaKAaQD4oBeN40ymgGsIIWgDMoRAPySA2qwC6UAFxQyEAG4REAKB2hIUAArJgAC0J9g5anQbMoAFSs2aiCMgq0yAGxBQAVzJBMloAdzJZBU4uHSh4pxcBKHdPbz8oWQBLMjFtJwAGFgA6Upy8xCcAJQU4hJlHKqTbKLqE+tgEFHRsfAIWRwLOEmtk9S1ddqmO1K9ff1bp6dVZ9IXB2qWVTqQ0TFxCAaHmmnocRmA2ragZVfnMwZLSk3M8eF2eg-7C9gGq9k213iqne3X2fSOw34tnG2iuQPitw8cwyiwR7RWyLWDwKgOBKSx91aOlQPmQVBoBGAtHclhGrjs53QnAA3lcqAEsFRUIgslgIHhnPTkndUcJRBJvqVikEQuFIgpogAKMCmMyqIXQmgvCzfRycBrbWGIACUUBZAF8dFb9OBoFSaRB4MgALZgHzQHhs9pgRC0MAARlU3qW6io1goQfN8NDEHDEEjyFU4d5ZAA5jHpmGIwGsKoyAEXfzJksre0ywlff6AEzBzNqOMR6sFVRYWi0D3IMj17MJ6tRkNA3sUftJtSF4v1ivxK021DecNQcOO7gNsKSam0h3uZ1uj3sJUmvTL9zFDlcnl8iBK2QAcirgdvCiPJ4gZ853N5-Jv979j5Yt7DgGt4AUByBPi+m5vuen5Xj+D7ViBUCAY2fYFBBOivu+F5fted4IUhKHxiOwGgahJHgc+egAPTUVAACSZAaMgPhZBQmFQdhsHflEkGOlxl48b+-oAMwYVhMGCXhwn-shw7NuJnGSbh8F-qRcnkepRE5uBAFULQLoQOYORphBQA
https://github.com/franz101
franz101 (franz101)https://github.com/franz101
on Oct 2, 2021https://github.com/microsoft/TypeScript/issues/12290#issuecomment-932661905
sindresorhus/type-fest#158https://github.com/sindresorhus/type-fest/pull/158
https://github.com/mookilyu
mookil (mookilyu)https://github.com/mookilyu
on Nov 28, 2022https://github.com/microsoft/TypeScript/issues/12290#issuecomment-1328908147
Playgroundhttps://www.typescriptlang.org/play?ts=4.2.0-dev.20201224#code/C4TwDgpgBAogHsATgQwMbAPICMBWAeAZSggQgDsATAZygHtcJ0AaKAaQD4oBeN40ymgGsIIWgDMoRAPySA2qwC6UAFxQyEAG4REAKB2hIUAArJgAC0J9g5anQbMoAFSs2aiCMgq0yAGxBQAVzJBMloAdzJZBU4uHSh4pxcBKHdPbz8oWQBLMjFtJwAGFgA6Upy8xCcAJQU4hJlHKqTbKLqE+tgEFHRsfAIWRwLOEmtk9S1ddqmO1K9ff1bp6dVZ9IXB2qWVTqQ0TFxCAaHmmnocRmA2ragZVfnMwZLSk3M8eF2eg-7C9gGq9k213iqne3X2fSOw34tnG2iuQPitw8cwyiwR7RWyLWDwKgOBKSx91aOlQPmQVBoBGAtHclhGrjs53QnAA3lcqAEsFRUIgslgIHhnPTkncMkEQuFItEABRgUxmVRC6E0F4Wb6OTgNbawxAASigLIAvjpjfpwNAqTSIPBkABbMA+aA8NntMCIWhgACMqhdS3UVGsFG9BvhfogAYgQeQqgDvLIAHNQ9N-YHPVhVGQArb+ZMlsb2vmEm6PQAmH1JtThwMlgqqLC0WiO5BkCspyMl4O+oFtigd6NqLM5iuF+LG02obwBqABq3cSthSTU2mW9w2+2O9jS3V6GfuYocrk8vkQaWyADkxa9Z6U5KgE7IAe3u4g+853N5-NPF-dV5YZ57npnn+AHINeUC3vej46M+r6Hh+J7npeJZAVA-5Vu2BRgRBk7AE+S4vge77Hl+SEoWhEa9oBwHoZRoE3jQkG4XoAD0zFQAAkmQGjID4WQUNB+GwURn6IT+ADMWEMTheFWkJR4id+HpUahPY1pJd7SQJsmEfJCGKb+Kk0cp5GpqBf5ULQtoQOYOTxupjG6kAA
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/12290#event-20415371382
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/12290
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/12290
QuestionAn issue which isn't directly actionable in codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Question%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.