René's URL Explorer Experiment


Title: Typeguard for union not working after adding a property to the superclass of one of the union members · Issue #35953 · microsoft/TypeScript · GitHub

Open Graph Title: Typeguard for union not working after adding a property to the superclass of one of the union members · Issue #35953 · microsoft/TypeScript

X Title: Typeguard for union not working after adding a property to the superclass of one of the union members · Issue #35953 · microsoft/TypeScript

Description: This issue appeared in eslint-plugin-jest after updating @typescript-eslint to 2.13.0 (from 2.12.0). TypeScript Version: 3.7.x-dev.201xxxxx Search Terms: typeguard, union Code export declare enum AST_NODE_TYPES { Literal = 'Literal', Tem...

Open Graph Description: This issue appeared in eslint-plugin-jest after updating @typescript-eslint to 2.13.0 (from 2.12.0). TypeScript Version: 3.7.x-dev.201xxxxx Search Terms: typeguard, union Code export declare enum A...

X Description: This issue appeared in eslint-plugin-jest after updating @typescript-eslint to 2.13.0 (from 2.12.0). TypeScript Version: 3.7.x-dev.201xxxxx Search Terms: typeguard, union Code export declare enum A...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Typeguard for union not working after adding a property to the superclass of one of the union members","articleBody":"\u003c!-- 🚨 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\nThis issue appeared in `eslint-plugin-jest` after updating `@typescript-eslint` to 2.13.0 (from 2.12.0).\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:**  3.7.x-dev.201xxxxx\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\ntypeguard, union\r\n**Code**\r\n\r\n```ts\r\nexport declare enum AST_NODE_TYPES {\r\n  Literal = 'Literal',\r\n  TemplateLiteral = 'TemplateLiteral',\r\n}\r\n\r\nexport type TSNode = StringLiteral | TemplateLiteral;\r\n\r\nexport interface BaseNode {\r\n  stuff: null;\r\n}\r\nexport interface LiteralBase extends BaseNode {\r\n  raw: string;\r\n  value: boolean | number | RegExp | string | null;\r\n  regex?: {\r\n    pattern: string;\r\n    flags: string;\r\n  };\r\n}\r\n\r\nexport interface StringLiteral extends LiteralBase {\r\n  type: AST_NODE_TYPES.Literal;\r\n  value: string;\r\n}\r\nexport interface TemplateLiteral extends BaseNode {\r\n  type: AST_NODE_TYPES.TemplateLiteral;\r\n  quasis: string[];\r\n}\r\n\r\ninterface MyStringLiteral\u003cValue extends string = string> extends StringLiteral {\r\n  value: Value;\r\n}\r\n\r\ninterface MyTemplateLiteral\u003cValue extends string = string>\r\n  extends TemplateLiteral {\r\n  quasis: [Value];\r\n}\r\n\r\ntype MyStringNode\u003cS extends string = string> =\r\n  | MyStringLiteral\u003cS>\r\n  | MyTemplateLiteral\u003cS>;\r\n\r\ndeclare function isMyStringNode\u003cV extends string>(\r\n  node: TSNode,\r\n  specifics?: V,\r\n): node is MyStringNode\u003cV>;\r\n\r\nfunction foo(argument: TSNode) {\r\n  if (isMyStringNode(argument)) {\r\n    /*\r\n        Expected: argument.type is Literal|TemplateLiteral\r\n        Actual  : argument.type is Literal\r\n\r\n        This condition will always return 'false' since the types\r\n        'AST_NODE_TYPES.Literal' and \r\n        'AST_NODE_TYPES.TemplateLiteral' have no overlap.\r\n    */\r\n    if (argument.type === AST_NODE_TYPES.TemplateLiteral) {\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nThis is a real life reproduction - it can be made smaller by removing the generics, `BaseNode`, etc, but then it becomes counterproductive as you can argue the solution to be \"just use `StringLiteral` directly\".\r\n\r\n**Expected behavior:**\r\nNo errors\r\n\r\n**Actual behavior:**\r\n\r\n`if (argument.type === AST_NODE_TYPES.TemplateLiteral) {` is marked as an error, as TS believes `argument.type` can only be `AST_NODE_TYPES.Literal` (aka it appears to discard the alternative in the union).\r\n\r\nThis behaviour is tied to the existence of the `value: string` property on `StringLiteral`: if you remove that property, everything works as expected (which is what changed between 2.12.0 & 2.13.0: previously `Literal` was just an interface w/ `type` - now it's a union of `\u003cType>Literal` interfaces; one for each of the values of `LiteralBase#value`)\r\n\r\n**Playground Link:** https://www.typescriptlang.org/play/?ts=3.8.0-dev.20191231&ssl=1&ssc=1&pln=60&pc=2#code/KYDwDg9gTgLgBAE2AYwDYEMrDsAdgVwFs4BBAZQBUB9AOQHkARAUSooE0AFJsuAbwFgAUHDgAZAJYxgUdKjgBeOAHIJUmaiUAaISIrBCYDFNXTZC5XoNHgJ9VqEBfIUNCRYcGAE8w2CmRoQSOZkMFDiuADmtmYAPnCWhujGkqaoANzOgq7Q8OFqAGboyNgAQugAzsABQQLCcOUw+Pn5AFxwBKjpji7gOXB50oXFYinqZZU4IFK4COVw41WB2LUiMgDubQ1hkRl1AG6y+MBtAEYQEKjA6LhwcQSEJ9K3cABKwBFM4M9b4RHPHV06lgIqAAPxtFYiOBgJJqXCbUK-XZQuD5DARcoI7YRZFwBy7JyCHpuXK4ApFbAhbHROSgaazEZqWQLPg6DzeY6kSi0RgsdhcMgAOhpuIOqCOWKR3SyvXcAygQ18+kSySZtKmeAZC2qyzZXh8bXI1HozFYnG4goS1hFbIAjvgKuJMfVEZEANoAXQJmXlirgAFlPFTfjSADwANUO2DpmrmP0i5njEQAfJN6XNg5Eaaz9lG2pHxcBvUTBL6KQHPFakjZRrII1G07GXdjE66U2yYzM5lXVakcyJ7Y7nW6C0cvdKhPrsIHMxEdaGeJ2GUnW9jU-I2XEZ22w2Rk5uKz2a2qF8ndkIkGhMNh8vhcMgYOIIDcndvsfPw42u83fsmABRsrgSxtH4OraHU5Q+Mg4j5OIyDlOCcDhuBACUbRAUEToVrOH5npkt73o+z6oucf6YBERB4DAIH+EsKH9v0+RwH+r5Bm2OpkVAFGEFRKH0ZCIgAPQAFRsiiIifFBUgIG05GUWSgpTv0cw0jER40mJ4kkA+DpyHAslcfJMCKRyymMqkmTiVCFAABZYcgz4IJIT43Gs4idHAshrOgnhzFgjRQDcSiFKglRKPU4TDDANnYFO5SaSiShGjypr8haNLhdcCBwAlUJJdyJp8uaQrqbWGhwDZ6B7NgQFwBA1VQBgYCCppwmCZpMHMXJPEKUp8j9Vyxq8maAqWsq1plfxmmEiIhIOEAA\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\n\r\nThis is probably a duplicate of #31156, but I've created a new issue as I believe this is a more subtle (ideally fixable) issue","author":{"url":"https://github.com/G-Rath","@type":"Person","name":"G-Rath"},"datePublished":"2020-01-02T00:23:46Z","url":"https://github.com/microsoft/TypeScript/issues/35953"}

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:cb49a9fd-d085-88a9-9998-fbd0a35e5477
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A28:1201C:A55084:DDB646:6B00EBE7
html-safe-noncee04da12ff02fc9896446ddeb51ae4af8a8a5229dea0aae9130ffe932a6bbe326
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTI4OjEyMDFDOkE1NTA4NDpEREI2NDY6NkIwMEVCRTciLCJ2aXNpdG9yX2lkIjoiMjE2OTg4MjE0OTA1Njk5ODM3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac538205070d8f5a9e38149ef39f078e6792ca264260631f435f7c2e9f5350ef71
hovercard-subject-tagissue:544415179
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/35953/issue_layout
twitter:imagehttps://opengraph.githubassets.com/19073f96ad316ca6644641be41ea170a38b483000bb5cd5528c1ca389e18f370/microsoft/TypeScript/issues/35953
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19073f96ad316ca6644641be41ea170a38b483000bb5cd5528c1ca389e18f370/microsoft/TypeScript/issues/35953
og:image:altThis issue appeared in eslint-plugin-jest after updating @typescript-eslint to 2.13.0 (from 2.12.0). TypeScript Version: 3.7.x-dev.201xxxxx Search Terms: typeguard, union Code export declare enum A...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameG-Rath
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/35953#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F35953
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%2F35953
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/35953
Reloadhttps://github.com/microsoft/TypeScript/issues/35953
Reloadhttps://github.com/microsoft/TypeScript/issues/35953
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/35953
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/35953
#49625https://github.com/microsoft/TypeScript/pull/49625
Typeguard for union not working after adding a property to the superclass of one of the union membershttps://github.com/microsoft/TypeScript/issues/35953#top
#49625https://github.com/microsoft/TypeScript/pull/49625
Design LimitationConstraints of the existing architecture prevent this from being fixedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Limitation%22
https://github.com/G-Rath
Gareth Jones (G-Rath)https://github.com/G-Rath
on Jan 2, 2020https://github.com/microsoft/TypeScript/issues/35953#issue-544415179
https://www.typescriptlang.org/play/?ts=3.8.0-dev.20191231&ssl=1&ssc=1&pln=60&pc=2#code/KYDwDg9gTgLgBAE2AYwDYEMrDsAdgVwFs4BBAZQBUB9AOQHkARAUSooE0AFJsuAbwFgAUHDgAZAJYxgUdKjgBeOAHIJUmaiUAaISIrBCYDFNXTZC5XoNHgJ9VqEBfIUNCRYcGAE8w2CmRoQSOZkMFDiuADmtmYAPnCWhujGkqaoANzOgq7Q8OFqAGboyNgAQugAzsABQQLCcOUw+Pn5AFxwBKjpji7gOXB50oXFYinqZZU4IFK4COVw41WB2LUiMgDubQ1hkRl1AG6y+MBtAEYQEKjA6LhwcQSEJ9K3cABKwBFM4M9b4RHPHV06lgIqAAPxtFYiOBgJJqXCbUK-XZQuD5DARcoI7YRZFwBy7JyCHpuXK4ApFbAhbHROSgaazEZqWQLPg6DzeY6kSi0RgsdhcMgAOhpuIOqCOWKR3SyvXcAygQ18+kSySZtKmeAZC2qyzZXh8bXI1HozFYnG4goS1hFbIAjvgKuJMfVEZEANoAXQJmXlirgAFlPFTfjSADwANUO2DpmrmP0i5njEQAfJN6XNg5Eaaz9lG2pHxcBvUTBL6KQHPFakjZRrII1G07GXdjE66U2yYzM5lXVakcyJ7Y7nW6C0cvdKhPrsIHMxEdaGeJ2GUnW9jU-I2XEZ22w2Rk5uKz2a2qF8ndkIkGhMNh8vhcMgYOIIDcndvsfPw42u83fsmABRsrgSxtH4OraHU5Q+Mg4j5OIyDlOCcDhuBACUbRAUEToVrOH5npkt73o+z6oucf6YBERB4DAIH+EsKH9v0+RwH+r5Bm2OpkVAFGEFRKH0ZCIgAPQAFRsiiIifFBUgIG05GUWSgpTv0cw0jER40mJ4kkA+DpyHAslcfJMCKRyymMqkmTiVCFAABZYcgz4IJIT43Gs4idHAshrOgnhzFgjRQDcSiFKglRKPU4TDDANnYFO5SaSiShGjypr8haNLhdcCBwAlUJJdyJp8uaQrqbWGhwDZ6B7NgQFwBA1VQBgYCCppwmCZpMHMXJPEKUp8j9Vyxq8maAqWsq1plfxmmEiIhIOEAAhttps://www.typescriptlang.org/play/?ts=3.8.0-dev.20191231&ssl=1&ssc=1&pln=60&pc=2#code/KYDwDg9gTgLgBAE2AYwDYEMrDsAdgVwFs4BBAZQBUB9AOQHkARAUSooE0AFJsuAbwFgAUHDgAZAJYxgUdKjgBeOAHIJUmaiUAaISIrBCYDFNXTZC5XoNHgJ9VqEBfIUNCRYcGAE8w2CmRoQSOZkMFDiuADmtmYAPnCWhujGkqaoANzOgq7Q8OFqAGboyNgAQugAzsABQQLCcOUw+Pn5AFxwBKjpji7gOXB50oXFYinqZZU4IFK4COVw41WB2LUiMgDubQ1hkRl1AG6y+MBtAEYQEKjA6LhwcQSEJ9K3cABKwBFM4M9b4RHPHV06lgIqAAPxtFYiOBgJJqXCbUK-XZQuD5DARcoI7YRZFwBy7JyCHpuXK4ApFbAhbHROSgaazEZqWQLPg6DzeY6kSi0RgsdhcMgAOhpuIOqCOWKR3SyvXcAygQ18+kSySZtKmeAZC2qyzZXh8bXI1HozFYnG4goS1hFbIAjvgKuJMfVEZEANoAXQJmXlirgAFlPFTfjSADwANUO2DpmrmP0i5njEQAfJN6XNg5Eaaz9lG2pHxcBvUTBL6KQHPFakjZRrII1G07GXdjE66U2yYzM5lXVakcyJ7Y7nW6C0cvdKhPrsIHMxEdaGeJ2GUnW9jU-I2XEZ22w2Rk5uKz2a2qF8ndkIkGhMNh8vhcMgYOIIDcndvsfPw42u83fsmABRsrgSxtH4OraHU5Q+Mg4j5OIyDlOCcDhuBACUbRAUEToVrOH5npkt73o+z6oucf6YBERB4DAIH+EsKH9v0+RwH+r5Bm2OpkVAFGEFRKH0ZCIgAPQAFRsiiIifFBUgIG05GUWSgpTv0cw0jER40mJ4kkA+DpyHAslcfJMCKRyymMqkmTiVCFAABZYcgz4IJIT43Gs4idHAshrOgnhzFgjRQDcSiFKglRKPU4TDDANnYFO5SaSiShGjypr8haNLhdcCBwAlUJJdyJp8uaQrqbWGhwDZ6B7NgQFwBA1VQBgYCCppwmCZpMHMXJPEKUp8j9Vyxq8maAqWsq1plfxmmEiIhIOEAA
#31156https://github.com/microsoft/TypeScript/issues/31156
https://github.com/G-Rath
Gareth Jones (G-Rath)https://github.com/G-Rath
on Jan 2, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-570096584
Brad Zacher (@bradzacher)https://github.com/bradzacher
AnyhowStephttps://github.com/AnyhowStep
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jan 14, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-574430591
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jan 15, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-574433094
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Design LimitationConstraints of the existing architecture prevent this from being fixedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Limitation%22
on Jan 15, 2020https://github.com/microsoft/TypeScript/issues/35953#event-2949059607
https://github.com/G-Rath
Gareth Jones (G-Rath)https://github.com/G-Rath
on Jan 15, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-574440051
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/bradzacher
Brad Zacher (bradzacher)https://github.com/bradzacher
on Jan 15, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-574444190
replhttps://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=13&pc=1#code/C4TwDgpgBAKgsiGBXMAbCAeGAxAlgJwGdgoIAPYCAOwBNCpj9cqBzAPigF4oBtHA4gBooAOjGNmLHgF1pAKDkB6RaXz4A9kTkBjdVWJQARgEMaARgBcsBMjSYA5IXUBbCMAAWk+x24yA3FDKUAAKGpD4oFD2AAz2ULj0zgmEkvFUUKCQUTJxhkgk+BAAjkgEEDRpGeDQ9vCIKOgYAEROrh6STWz2Ijp6BiY0AExWdbaNji5unqzeXLwTbdMs9sJm0gFBoerhkfZmcQlpus5gxsC4huhQAO64HlCFBhDorlQkmRAisNVRVEjOhgg+AO9Co6hIxkIKRYVGMl2gwHUVSyjmATBmPSUKmumgA1pJevoSCx1OpzCMbA0HK0pl4fPMae0ZutCQYSWThtZ6nYMAtaTN6Tw+UzlsJ7MYVlFDPYWaySAAzAQkbjs8w8aLrQIqD7qeVcTjcYVLexyhgQXS0Oaqsw8NYbbXVXX67gSVhyIA
https://github.com/G-Rath
Gareth Jones (G-Rath)https://github.com/G-Rath
on Jan 15, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-574446585
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 15, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-574742099
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 20, 2020https://github.com/microsoft/TypeScript/issues/35953#issuecomment-576455171
https://www.typescriptlang.org/docs/handbook/advanced-types.html#conditional-typeshttps://www.typescriptlang.org/docs/handbook/advanced-types.html#conditional-types
https://www.typescriptlang.org/docs/handbook/type-compatibility.html#subtype-vs-assignmenthttps://www.typescriptlang.org/docs/handbook/type-compatibility.html#subtype-vs-assignment
TypeScript spechttps://github.com/Microsoft/TypeScript/blob/master/doc/spec.md
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 1, 2021https://github.com/microsoft/TypeScript/issues/35953#event-4828178226
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/35953
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/35953
Design LimitationConstraints of the existing architecture prevent this from being fixedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Limitation%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.