René's URL Explorer Experiment


Title: Intersection of enum union with literal is unexpectedly `never` · Issue #21998 · microsoft/TypeScript · GitHub

Open Graph Title: Intersection of enum union with literal is unexpectedly `never` · Issue #21998 · microsoft/TypeScript

X Title: Intersection of enum union with literal is unexpectedly `never` · Issue #21998 · microsoft/TypeScript

Description: TypeScript Version: 2.8.0-dev.20180211 Search Terms: enum literal intersection never Code type VerifyExtends = true type VerifyMutuallyAssignable = true // string enum enum Bug { ant = "a", ...

Open Graph Description: TypeScript Version: 2.8.0-dev.20180211 Search Terms: enum literal intersection never Code type VerifyExtends = true type VerifyMutuallyAssignable = tr...

X Description: TypeScript Version: 2.8.0-dev.20180211 Search Terms: enum literal intersection never Code type VerifyExtends<A, B extends A> = true type VerifyMutuallyAssignable<A extends B, B extends C, ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intersection of enum union with literal is unexpectedly `never`","articleBody":"**TypeScript Version:**  2.8.0-dev.20180211\r\n\r\n**Search Terms:** enum literal intersection never\r\n\r\n**Code**\r\n\r\n```ts\r\ntype VerifyExtends\u003cA, B extends A> = true\r\ntype VerifyMutuallyAssignable\u003cA extends B, B extends C, C=A> = true\r\n\r\n// string enum\r\nenum Bug {\r\n  ant = \"a\",\r\n  bee = \"b\"  \r\n}\r\n\r\ndeclare var witness: VerifyExtends\u003c'a', Bug.ant> // okay, as expected\r\ndeclare var witness: VerifyExtends\u003c'b', Bug.ant> // error, as expected\r\n\r\ndeclare var witness: VerifyMutuallyAssignable\u003cBug, Bug.ant | Bug.bee> // okay, as expected\r\ndeclare var witness: VerifyMutuallyAssignable\u003cBug.ant, Bug.ant & 'a'> // okay, as expected\r\n\r\ndeclare var witness: VerifyExtends\u003cBug, Bug.ant> // okay as expected\r\ndeclare var witness: VerifyExtends\u003cBug & 'a', Bug.ant & 'a'> // error, not expected!!\r\n\r\ndeclare var witness: VerifyMutuallyAssignable\u003cBug & 'a', never> // okay, not expected!!\r\n\r\n// numeric enum\r\nenum Pet {\r\n  cat = 0,\r\n  dog = 1  \r\n}\r\n\r\ndeclare var witness: VerifyExtends\u003c0, Pet.cat> // okay, as expected\r\ndeclare var witness: VerifyExtends\u003c1, Pet.cat> // error, as expected\r\n\r\ndeclare var witness: VerifyMutuallyAssignable\u003cPet, Pet.cat | Pet.dog> // okay, as expected\r\ndeclare var witness: VerifyMutuallyAssignable\u003cPet.cat, Pet.cat & 0> // okay, as expected\r\n\r\ndeclare var witness: VerifyExtends\u003cPet, Pet.cat> // okay, as expected\r\ndeclare var witness: VerifyExtends\u003cPet & 0, Pet.cat & 0> // error, not expected!!\r\n\r\ndeclare var witness: VerifyMutuallyAssignable\u003cPet & 'a', never> // okay, not expected!!\r\n```\r\n\r\n**Expected behavior:**\r\nI expect that `Bug & 'a'` should reduce to `Bug.ant`, or at least to `Bug.ant | (Bug.bee & 'a')`.  \r\nSimilarly, `Pet & 0` should reduce to `Pet.cat`, or at least to `Pet.cat | (Pet.dog & 0)`.\r\n\r\n**Actual behavior:**\r\nBoth `Bug & 'a'` and `Pet & 0` reduce to `never`, which is bizarre to me.  I was trying to solve a [StackOverflow question](https://stackoverflow.com/questions/48827943/typescript-string-enum-reverse-mapping-equivalent) and realized that my solution was narrowing literals to `never` after a type guard.  Something like:\r\n\r\n```ts\r\ndeclare function isBug(val: string): val is Bug\r\ndeclare const a: \"a\" \r\nif (isBug(a)) {\r\n  a // never?!\r\n}\r\n```\r\n\r\nThoughts?  \r\n\r\n[**Playground Link:**](http://www.typescriptlang.org/play//#src=type%20VerifyExtends%3CA%2C%20B%20extends%20A%3E%20%3D%20true%0D%0Atype%20VerifyMutuallyAssignable%3CA%20extends%20B%2C%20B%20extends%20C%2C%20C%3DA%3E%20%3D%20true%0D%0A%0D%0A%2F%2F%20string%20enum%0D%0Aenum%20Bug%20%7B%0D%0A%20%20ant%20%3D%20%22a%22%2C%0D%0A%20%20bee%20%3D%20%22b%22%20%20%0D%0A%7D%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C'a'%2C%20Bug.ant%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C'b'%2C%20Bug.ant%3E%20%2F%2F%20error%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CBug%2C%20Bug.ant%20%7C%20Bug.bee%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CBug.ant%2C%20Bug.ant%20%26%20'a'%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CBug%2C%20Bug.ant%3E%20%2F%2F%20okay%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CBug%20%26%20'a'%2C%20Bug.ant%20%26%20'a'%3E%20%2F%2F%20error%2C%20not%20expected!!%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CBug%20%26%20'a'%2C%20never%3E%20%2F%2F%20okay%2C%20not%20expected!!%0D%0A%0D%0A%2F%2F%20numeric%20enum%0D%0Aenum%20Pet%20%7B%0D%0A%20%20cat%20%3D%200%2C%0D%0A%20%20dog%20%3D%201%20%20%0D%0A%7D%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C0%2C%20Pet.cat%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C1%2C%20Pet.cat%3E%20%2F%2F%20error%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CPet%2C%20Pet.cat%20%7C%20Pet.dog%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CPet.cat%2C%20Pet.cat%20%26%200%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CPet%2C%20Pet.cat%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CPet%20%26%200%2C%20Pet.cat%20%26%200%3E%20%2F%2F%20error%2C%20not%20expected!!%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CPet%20%26%20'a'%2C%20never%3E%20%2F%2F%20okay%2C%20not%20expected!!)\r\n\r\n**Related Issues:**\r\n  I'm really not finding any, after searching for an hour.  A few [near misses](https://github.com/Microsoft/TypeScript/issues/20136) but nothing that seems particularly relevant.","author":{"url":"https://github.com/jcalz","@type":"Person","name":"jcalz"},"datePublished":"2018-02-16T17:45:44Z","url":"https://github.com/microsoft/TypeScript/issues/21998"}

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:25ab4bb4-fcfb-58b7-d78d-75e7159d24e8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8340:D61D9:39F20:4D7DE:6AFBD891
html-safe-noncea7f0f0c84493df5effd3421bdacca266ac5bb4754954bbd2df8e362cbca79119
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzQwOkQ2MUQ5OjM5RjIwOjREN0RFOjZBRkJEODkxIiwidmlzaXRvcl9pZCI6IjM5MDgyNTgxOTIwMzg4MTE3OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac57173db00a5071f07ba10aac964ffd37b6d47a52489c8af8ef2dd7f2b2b6deac
hovercard-subject-tagissue:297867015
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/21998/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ce3b22026c51d3169410c480982cf94e5eb977c01e33f926c01e92cc63dc36ba/microsoft/TypeScript/issues/21998
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ce3b22026c51d3169410c480982cf94e5eb977c01e33f926c01e92cc63dc36ba/microsoft/TypeScript/issues/21998
og:image:altTypeScript Version: 2.8.0-dev.20180211 Search Terms: enum literal intersection never Code type VerifyExtends = true type VerifyMutuallyAssignable = tr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejcalz
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
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
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/21998#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F21998
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%2F21998
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/21998
Reloadhttps://github.com/microsoft/TypeScript/issues/21998
Reloadhttps://github.com/microsoft/TypeScript/issues/21998
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests334 (334)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/pulse
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/21998
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/21998
Intersection of enum union with literal is unexpectedly neverhttps://github.com/microsoft/TypeScript/issues/21998#top
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Feb 16, 2018https://github.com/microsoft/TypeScript/issues/21998#issue-297867015
StackOverflow questionhttps://stackoverflow.com/questions/48827943/typescript-string-enum-reverse-mapping-equivalent
Playground Link:http://www.typescriptlang.org/play//#src=type%20VerifyExtends%3CA%2C%20B%20extends%20A%3E%20%3D%20true%0D%0Atype%20VerifyMutuallyAssignable%3CA%20extends%20B%2C%20B%20extends%20C%2C%20C%3DA%3E%20%3D%20true%0D%0A%0D%0A%2F%2F%20string%20enum%0D%0Aenum%20Bug%20%7B%0D%0A%20%20ant%20%3D%20%22a%22%2C%0D%0A%20%20bee%20%3D%20%22b%22%20%20%0D%0A%7D%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C'a'%2C%20Bug.ant%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C'b'%2C%20Bug.ant%3E%20%2F%2F%20error%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CBug%2C%20Bug.ant%20%7C%20Bug.bee%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CBug.ant%2C%20Bug.ant%20%26%20'a'%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CBug%2C%20Bug.ant%3E%20%2F%2F%20okay%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CBug%20%26%20'a'%2C%20Bug.ant%20%26%20'a'%3E%20%2F%2F%20error%2C%20not%20expected!!%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CBug%20%26%20'a'%2C%20never%3E%20%2F%2F%20okay%2C%20not%20expected!!%0D%0A%0D%0A%2F%2F%20numeric%20enum%0D%0Aenum%20Pet%20%7B%0D%0A%20%20cat%20%3D%200%2C%0D%0A%20%20dog%20%3D%201%20%20%0D%0A%7D%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C0%2C%20Pet.cat%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3C1%2C%20Pet.cat%3E%20%2F%2F%20error%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CPet%2C%20Pet.cat%20%7C%20Pet.dog%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CPet.cat%2C%20Pet.cat%20%26%200%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CPet%2C%20Pet.cat%3E%20%2F%2F%20okay%2C%20as%20expected%0D%0Adeclare%20var%20witness%3A%20VerifyExtends%3CPet%20%26%200%2C%20Pet.cat%20%26%200%3E%20%2F%2F%20error%2C%20not%20expected!!%0D%0A%0D%0Adeclare%20var%20witness%3A%20VerifyMutuallyAssignable%3CPet%20%26%20'a'%2C%20never%3E%20%2F%2F%20okay%2C%20not%20expected!!
near misseshttps://github.com/Microsoft/TypeScript/issues/20136
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Mar 2, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-369967622
another StackOverflow questionhttps://stackoverflow.com/questions/49072376/check-string-value-in-enum-typescript
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Mar 2, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-370045778
#21316https://github.com/microsoft/TypeScript/pull/21316
#10676https://github.com/microsoft/TypeScript/pull/10676
Kevin Donnelly (@kpdonn)https://github.com/kpdonn
suggestionhttps://github.com/Microsoft/TypeScript/issues/21998#issuecomment-370104352
#21316https://github.com/microsoft/TypeScript/pull/21316
https://github.com/kpdonn
Kevin Donnelly (kpdonn)https://github.com/kpdonn
on Mar 3, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-370104352
#10676https://github.com/microsoft/TypeScript/pull/10676
#10676https://github.com/microsoft/TypeScript/pull/10676
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Mar 3, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-370181807
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Mar 14, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-373162494
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Working as IntendedThe behavior described is the intended behavior; this is not a bughttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Working%20as%20Intended%22
on Mar 14, 2018https://github.com/microsoft/TypeScript/issues/21998#event-1521891904
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Mar 14, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-373192898
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Mar 15, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-373226652
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
consistencyhttps://en.wikipedia.org/wiki/Absorption_law
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
on Mar 29, 2018https://github.com/microsoft/TypeScript/issues/21998#issuecomment-377282041
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 Mar 29, 2018https://github.com/microsoft/TypeScript/issues/21998#event-1548220216
Wesley Wigham (weswigham)https://github.com/weswigham
on Mar 29, 2018https://github.com/microsoft/TypeScript/issues/21998#event-1548307507
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
Working as IntendedThe behavior described is the intended behavior; this is not a bughttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Working%20as%20Intended%22
on Mar 29, 2018https://github.com/microsoft/TypeScript/issues/21998#event-1548380433
https://github.com/haggholm
Petter (haggholm)https://github.com/haggholm
on Aug 29, 2019https://github.com/microsoft/TypeScript/issues/21998#issuecomment-526319277
https://www.npmjs.com/package/json-schema-to-typescripthttps://www.npmjs.com/package/json-schema-to-typescript
https://github.com/Ghostbird
Gijsbert ter Horst (Ghostbird)https://github.com/Ghostbird
on Dec 11, 2019https://github.com/microsoft/TypeScript/issues/21998#issuecomment-564458000
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Dec 11, 2019https://github.com/microsoft/TypeScript/issues/21998#issuecomment-564603615
https://github.com/Ghostbird
Gijsbert ter Horst (Ghostbird)https://github.com/Ghostbird
on Dec 12, 2019https://github.com/microsoft/TypeScript/issues/21998#issuecomment-564896127
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
on Jun 12, 2020https://github.com/microsoft/TypeScript/issues/21998#issuecomment-643052588
https://github.com/captain-yossarian
yossarian (captain-yossarian)https://github.com/captain-yossarian
on Nov 13, 2020https://github.com/microsoft/TypeScript/issues/21998#issuecomment-726715297
SOhttps://stackoverflow.com/questions/64812755/using-string-enums-to-extend-keyof
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jan 24, 2023https://github.com/microsoft/TypeScript/issues/21998#issuecomment-1402801241
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 24, 2023https://github.com/microsoft/TypeScript/issues/21998#event-8349581311
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/21998
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/21998
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%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.