René's URL Explorer Experiment


Title: Typescript fails to generate an error when comparing deeply nested TypeBox types · Issue #56291 · microsoft/TypeScript · GitHub

Open Graph Title: Typescript fails to generate an error when comparing deeply nested TypeBox types · Issue #56291 · microsoft/TypeScript

X Title: Typescript fails to generate an error when comparing deeply nested TypeBox types · Issue #56291 · microsoft/TypeScript

Description: 🔎 Search Terms "typebox no Typescript error" 🕗 Version & Regression Information This is a crash ⏯ Playground Link https://www.typescriptlang.org/play?ts=5.3.0-dev.20231031#code/JYWwDg9gTgLgBAbzgZRgQxsAxgGjgFQE8wBTOAXzgDMoIQ4ByAAQGdgA7LAG...

Open Graph Description: 🔎 Search Terms "typebox no Typescript error" 🕗 Version & Regression Information This is a crash ⏯ Playground Link https://www.typescriptlang.org/play?ts=5.3.0-dev.20231031#code/JYWwDg9gTgLgBAbzgZRg...

X Description: 🔎 Search Terms "typebox no Typescript error" 🕗 Version & Regression Information This is a crash ⏯ Playground Link https://www.typescriptlang.org/play?ts=5.3.0-dev.20231031#code/JYWwDg...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Typescript fails to generate an error when comparing deeply nested TypeBox types","articleBody":"### 🔎 Search Terms\r\n\r\n\"typebox no Typescript error\" \r\n\r\n### 🕗 Version & Regression Information\r\n\r\n- This is a crash\r\n\r\n### ⏯ Playground Link\r\n\r\nhttps://www.typescriptlang.org/play?ts=5.3.0-dev.20231031#code/JYWwDg9gTgLgBAbzgZRgQxsAxgGjgFQE8wBTOAXzgDMoIQ4ByAAQGdgA7LAGzWCgHoYxEgCMIADwYBuAFAz+-OADkAgvgCSANQCicbQA0VAWQAKAGV0Baazdu25Q0ihBouXJRmAA3EkScBeRBk4ELguEh8uAEYALiDQhLCIki4AJjiEYMTsqggIOJYYKA4Ac1lskPJy0KqZWplHMgAhYBKPTB8-MkDMhPDI2PiK-pT0oYrQ3Py4QuL2MqyJkJE0KAKi0urs2oTa+oUCAHcIOAATEhIwLkI4dhJCklO4RpY4Eu8yLGgoEix4EigtCgMioAFdOJgIOxbp4fE1VgAKMCrNAgOLIFxudofLoAbQAugBKOItNqw3zCAnjOA-GCgqDQ5FQVGychyA52Tk2dmKfAATRM2iaAHl9HpDKYLHAuVyHMJnK4uF0xOIunBAqhPFgADyNCBUBVuZUSLoAPlkX3YhUNSuEKrVgS6ADphSIAFa-GAI3qhEbROLOlSAtCEBHO10ev7exaJP1jQPB0Ph92e6NLSZ5APCJ2oOYlBGEnAx3aEwsx8ilosV2QNeWk42q+Ua9CYHV6g31u0m4TmmSW62d0j2psEbMR1M+kJ+wYJ5lJscpqOT2PJNJZ0hOoNzsMLyNe5cTKbrkg5jbzAtF9PLVbH095i-FmqV8vP6s86jgv7AKHUPJIlFojaDZdMScCDqI3ZOJkBwhLS9KMgBsgHGy8iKAAwvSPzsDA1zPAAFsAryEXAHBfICnpOnA6jwCwoJgJALCPM8Jx4WgPhwACQJwGgRHQgAROw5LwlAfEceIqJXCQqFUQahAQKCcCfnQIAkNhcB8VMoloGIPgBgRryHMAbhvB8HGAtAcAImRPx-HAIgkKxXjflAhLSeosnyYpnDKap8AaXkon2VwECHHpxGGcZSjCvgJnsZxFkIqR3yenZDlsc5rlghC37QisUD-sygEYoqwGUkSJKtKVpBUsucEMnATIsnU75ZV+P5TAVqLopitpDpBJCgeBw5QdJsEkHS9WNSASGKChHIygtMhAA\r\n\r\n### 💻 Code\r\n\r\n```ts\r\nimport { Static, Type } from '@sinclair/typebox';\r\n\r\n// NATIVE EXAMPLE --------------\r\n\r\ntype SmallNativeType = {\r\n    level1: {\r\n        level2: {\r\n            foo: string;\r\n        };\r\n    };\r\n};\r\n\r\ntype BigNativeType = {\r\n    level1: {\r\n        level2: {\r\n            foo: string;\r\n            bar: string;\r\n        };\r\n    };\r\n};\r\n\r\n// Two deeply nested types give correct error\r\nfunction nativeBar(param: SmallNativeType[]): BigNativeType[] {\r\n    return param;\r\n}\r\n\r\n// --------------\r\n\r\n// TYPEBOX EXAMPLE --------------\r\n\r\ntype SmallTypeboxType = Static\u003ctypeof SmallTypeboxType>;\r\nconst SmallTypeboxType = Type.Object({\r\n    level1: Type.Array(Type.Object({\r\n        level2: Type.Array(Type.Object({\r\n            foo: Type.String(),\r\n        })),\r\n    })),\r\n});\r\n\r\ntype BigTypeboxType = Static\u003ctypeof BigTypeboxType>;\r\nconst BigTypeboxType = Type.Object({\r\n    level1: Type.Array(Type.Object({\r\n        level2: Type.Array(Type.Object({\r\n            foo: Type.String(),\r\n            bar: Type.String(),\r\n        })),\r\n    })),\r\n});\r\n\r\n// function foo(param: SmallTypeboxType): BigTypeboxType {\r\n//   return param;\r\n// }\r\n\r\n// Currently this is incorrect. It supposed to have error as in \"nativeBar\" example\r\n// If you uncomment \"foo\" above: This will give error (correct behavior)\r\n// If you uncomment \"foo\" below: This will NOT give error (incorrect behavior)\r\nfunction bar(param: SmallTypeboxType[]): BigTypeboxType[] {\r\n    return param;\r\n}\r\n\r\n// function foo(param: SmallTypeboxType): BigTypeboxType {\r\n//   return param;\r\n// }\r\n\r\n// ------------------\r\n\r\n```\r\n\r\n\r\n### 🙁 Actual behavior\r\n\r\nNo Typescript error generated on line 58 inside `bar` function.\r\n\r\n### 🙂 Expected behavior\r\n\r\nThere should be an TS error on line 58 inside `bar` function just like there is a similar error inside `nativeBar` function on line 24.\r\n\r\n\r\n### Additional information about the issue\r\n\r\nI first reported this issue to TypeBox repo, but I was advised that this is actually a Typescript problem.\r\nLink to Typebox issue: https://github.com/sinclairzx81/typebox/issues/636\r\n","author":{"url":"https://github.com/sanderalvin","@type":"Person","name":"sanderalvin"},"datePublished":"2023-11-02T10:12:29Z","url":"https://github.com/microsoft/TypeScript/issues/56291"}

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:ffcddd88-1502-0306-af8d-a99f5519085c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC7B8:14ECB:2801979:32D520D:6B019BCB
html-safe-nonced0b67e8d2f3c6307e17dc33d5721aa165ee844b8abe5dc0e021d63583fd0844e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0I4OjE0RUNCOjI4MDE5Nzk6MzJENTIwRDo2QjAxOUJDQiIsInZpc2l0b3JfaWQiOiIzNTU2MzgxODg5NTI4OTYxOTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac028541eb0a82f61be42d080081f74b03a8f92f4a258eacd7bcd1fa40c56a1918
hovercard-subject-tagissue:1973920731
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/56291/issue_layout
twitter:imagehttps://opengraph.githubassets.com/52e4de3ea6a13a401bd91d0db9ce65c70b79201bd0ca18f19a8ef892c4598af5/microsoft/TypeScript/issues/56291
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52e4de3ea6a13a401bd91d0db9ce65c70b79201bd0ca18f19a8ef892c4598af5/microsoft/TypeScript/issues/56291
og:image:alt🔎 Search Terms "typebox no Typescript error" 🕗 Version & Regression Information This is a crash ⏯ Playground Link https://www.typescriptlang.org/play?ts=5.3.0-dev.20231031#code/JYWwDg9gTgLgBAbzgZRg...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesanderalvin
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/56291#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F56291
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%2F56291
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/56291
Reloadhttps://github.com/microsoft/TypeScript/issues/56291
Reloadhttps://github.com/microsoft/TypeScript/issues/56291
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/56291
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/56291
Typescript fails to generate an error when comparing deeply nested TypeBox typeshttps://github.com/microsoft/TypeScript/issues/56291#top
https://github.com/ahejlsberg
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/sanderalvin
Sander Alvin Kelder (sanderalvin)https://github.com/sanderalvin
on Nov 2, 2023https://github.com/microsoft/TypeScript/issues/56291#issue-1973920731
https://www.typescriptlang.org/play?ts=5.3.0-dev.20231031#code/JYWwDg9gTgLgBAbzgZRgQxsAxgGjgFQE8wBTOAXzgDMoIQ4ByAAQGdgA7LAGzWCgHoYxEgCMIADwYBuAFAz+-OADkAgvgCSANQCicbQA0VAWQAKAGV0Baazdu25Q0ihBouXJRmAA3EkScBeRBk4ELguEh8uAEYALiDQhLCIki4AJjiEYMTsqggIOJYYKA4Ac1lskPJy0KqZWplHMgAhYBKPTB8-MkDMhPDI2PiK-pT0oYrQ3Py4QuL2MqyJkJE0KAKi0urs2oTa+oUCAHcIOAATEhIwLkI4dhJCklO4RpY4Eu8yLGgoEix4EigtCgMioAFdOJgIOxbp4fE1VgAKMCrNAgOLIFxudofLoAbQAugBKOItNqw3zCAnjOA-GCgqDQ5FQVGychyA52Tk2dmKfAATRM2iaAHl9HpDKYLHAuVyHMJnK4uF0xOIunBAqhPFgADyNCBUBVuZUSLoAPlkX3YhUNSuEKrVgS6ADphSIAFa-GAI3qhEbROLOl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AtCEBHO10ev7exaJP1jQPB0Ph92e6NLSZ5APCJ2oOYlBGEnAx3aEwsx8ilosV2QNeWk42q+Ua9CYHV6g31u0m4TmmSW62d0j2psEbMR1M+kJ+wYJ5lJscpqOT2PJNJZ0hOoNzsMLyNe5cTKbrkg5jbzAtF9PLVbH095i-FmqV8vP6s86jgv7AKHUPJIlFojaDZdMScCDqI3ZOJkBwhLS9KMgBsgHGy8iKAAwvSPzsDA1zPAAFsAryEXAHBfICnpOnA6jwCwoJgJALCPM8Jx4WgPhwACQJwGgRHQgAROw5LwlAfEceIqJXCQqFUQahAQKCcCfnQIAkNhcB8VMoloGIPgBgRryHMAbhvB8HGAtAcAImRPx-HAIgkKxXjflAhLSeosnyYpnDKap8AaXkon2VwECHHpxGGcZSjCvgJnsZxFkIqR3yenZDlsc5rlghC37QisUD-sygEYoqwGUkSJKtKVpBUsucEMnATIsnU75ZV+P5TAVqLopitpDpBJCgeBw5QdJsEkHS9WNSASGKChHIygtMhAA
sinclairzx81/typebox#636https://github.com/sinclairzx81/typebox/issues/636
https://github.com/sanderalvin
Sander Alvin Kelder (sanderalvin)https://github.com/sanderalvin
on Nov 2, 2023https://github.com/microsoft/TypeScript/issues/56291#issuecomment-1790443389
#56169https://github.com/microsoft/TypeScript/pull/56169
#55638https://github.com/microsoft/TypeScript/pull/55638
#56138https://github.com/microsoft/TypeScript/issues/56138
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
on Nov 2, 2023https://github.com/microsoft/TypeScript/issues/56291#issuecomment-1791053466
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 Nov 2, 2023https://github.com/microsoft/TypeScript/issues/56291#event-10846607906
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Nov 2, 2023https://github.com/microsoft/TypeScript/issues/56291#event-10846608741
https://github.com/sinclairzx81
sinclairzx81https://github.com/sinclairzx81
on Nov 2, 2023https://github.com/microsoft/TypeScript/issues/56291#issuecomment-1791152695
5.3.0-dev.20231031https://www.typescriptlang.org/play?ts=5.3.0-dev.20231031#code/JYWwDg9gTgLgBAbzgZRgQxsAxgGjgFQE8wBTOAXzgDMoIQ4ByAAQGdgA7LAGzWCgHoYxEgCMIADwYBuAFAz+-OADkAgvgCSANQCicbQA0VAWQAKAGV0Baazdu25Q0ihBouXJRmAA3EkScBeRBk4ELguEh8uAEYALiDQhLCIki4AJjiEYMTsqggIOJYYKA4Ac1lskPJy0KqZWplHMgAhYBKPTB8-MkDMhPDI2PiK-pT0oYrQ3Py4QuL2MqyJkJE0KAKi0urs2oTa+oUCAHcIOAATEhIwLkI4dhJCklO4RpY4Eu8yLGgoEix4EigtCgMioAFdOJgIOxbp4fE1VgAKMCrNAgOLIFxudofLoAbQAugBKOItNqw3zCAnjOA-GCgqDQ5FQVGychyA52Tk2dmKfAATRM2iaAHl9HpDKYLHAuVyHMJnK4uF0xOIunBAqhPFgADyNCBUBVuZUSLoAPlkX3YhUNSuEKrVgS6ADphSIAFa-GAI3qhEbROLO10ev7exaJP1jQPuz2hpaTPIB4RO1BzEoIwk4MO7DNh8g5vOyBry0nG1XyjXoTA6vUGkt2k3Cc0yS3Wuuke3lghJoMxn0hP2DKPBr198PJNKJ0gu6Mh0cTKaTkjJjbzdOZuPLVaL5eptdZmo57OZgs86jgv7AKHUPJIlFom2lrrEuBt0QNpyZA4hWn0xl32QHGy8iKAAwvSPzsDA1zPAAFsArzwXAHBfICnpOnA6jwCwoJgJALCPM8JwwWgPhwACQJwGgCHQgAROw5LwlANFkeIqJXCQwEYQahAQKCcDnnQIAkJBcA0VMzFoGIPgBnBryHMAbhvB8ZGAtAcAIihPx-HAIgkMRXiXlAhKceo3G8fxnCCcJ8BiXkzG6VwECHDJiHyYpSjCvgSmkeRakIsh3yejpekkYZxlghCl7QisUC3sy94Yoqj6UkSJKtMlpBUqOP4MnATIsnUp4RReV5THFqLopitrtu+JDPq+HYfpx34kHSuX5SAAGKEBHIyn1MhAA
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript Link Herehttps://www.typescriptlang.org/play?ts=5.3.0-dev.20231102#code/C4TwDgpgBAygtgQwDZICrggIwPYA92RQC8swCwAlgMYA8ok2AZrIigVnuwHwBQV2AOwDOwFsjQYc+DMSjsAdAHlMAKwhVgACgDePKFCQQAbhCQBGAFxyM8gIIAnewhCaFytRp179B46YBMVgoOTi5uqupauj4+jNjYQTYwwPYUAgDmmgCUADTe+gC+WbneRSVFPDz00ABCFOnsUuyyyeTUdBhMUHUNkpwYvPzCoj2N-YQk4R5R3oYm5omQdo7OrjbukV4xcwGLEMuha0sbntExUHEJ1kvJqRnZeedQmAj2e-K3aZklMWWlxTwKjxGABXAQaCiCKDACAiTRgV4IOBWeDiMbSSAAbQAulkrKM+hiIDioGd7BBgCD7AIoAinHAANxQAD0zKgNAAtFAILhIBpuY5sPZAZVWVAORLJVLpTLZXL5QrFUrlfKeGLWpQqFA1WyVXr9QbDUaOTweWAhaJqqQ2rRUNzcDCBAATIRyGBUAAWEEQOSgAAV7Y6XVAwQBrATYADuAhJJBxXFkrigADJSbTEXAhFYA0VMQByEQ2vPYnXi43liuV5Wl1Dur2IUtVpvNpum3kWqBpGH2RgIKjQWue70IUneQuaqxhiPR7x0pFZkMCcNRmMlgqNlubrd6mshZwb7eHo-Stvm+yiLsQHt9gd7kA0O08oOuwf1hAJp8QZ0vuvD0f6cdqCsO8aA1dpUF9YAPQoIR8znTNiy4Xh1zFY80OPGsTmAA90Nw5tTw7K1UD9exsEgc8KFhWQACV1CFJ0aBEO50l9V9h14Ajz07ARu17fs5Cwh9Ay-YNiNI8jKFhD8HREn8h0Qf8oEAqgrG0KBMQAaW4qBQwgEAulQbEUTITUH007FIOg2C83goREKgdcUN1PCXKrGtPgyHDXO8g1OIvHirz4gcPPSYTvzdeSRzOZSrCYr4RVQnykv1GtUCsrzksyuU-O43ibzkNKYLC0TfwU6KTKA6ErLgjM7OxTEAAY1wyrLWslGtaKoKkhAoEwWra1qcqIzrut6iBaKdEF+yEz9wrYxAExIMDbV9TFUBG+wepMCapogB8uGxXgzQ7S9r349b1FGkwZpkubSvfYq5LfRSYrkDatvGiBJum1BkP6gbMprDB-oBpKcqddQkFeaABCRWEEXOmQzmOrjQXBSgoXesabufCK3y4TQqHEF4qFDKxNCgmD2CCQqhCyYgE1QPE3suzbsd+7wUdENGIShEDH1ukrIoJigYUzIJmdQfneH0LmLjBXmaUEgXcbEsir0koQCbAcSNcohcmaCZWZftM9uYVjGaRC7IghCkUeCAA
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Nov 4, 2023https://github.com/microsoft/TypeScript/issues/56291#issuecomment-1793480537
https://github.com/sinclairzx81
sinclairzx81https://github.com/sinclairzx81
on Nov 5, 2023https://github.com/microsoft/TypeScript/issues/56291#issuecomment-1793656260
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Workaround 1 (Inline)https://www.typescriptlang.org/play?ts=5.3.0-dev.20231102#code/C4TwDgpgBAShDGBXATgZwJYDcIBVzQF4oBlYAQ2HXgB5RIB7AM1gRQ2z0gD4AoeegHapgLJGiy58UIpwgA6OGPYQAFDgAW6VNK5RZcgPIAjAFYJgKgN5QBEAB7AAXHs3aAvgEoPPAPQ+o-EIiyKzi2M6KbBKy0lDWtg7O8fZOcTYpSemJUHK5UG75hQV+NoIAtCFgIagQAuRGADYQPHyCwlAAIhAQYDFE1DhQKbUAJto4xPDqEAC2ZFwqqFOzZM44Hjp6+Iam5lY8UFBN2A0AjGvbAILIyGQgatvGZvAWlgeHRxAnAEwXkHLXW73fRPPZvD4fY4QBoAZj+8kBdwe-1BL32EIhUIaABZ4QCbkiQbs0eCMZivtCAKx4xHAx7E17vMnkk4ANhpBLpKIZ6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alHxE9CW+wpZZVlkEUShYf6P2wWrUgOAHJ+x-MjDgEAADuHAsIGHqlcW+yBHZE3TviNaZlLJIGsiAWypsEzwUYCpFcjBmbkXqC0XwjhCImEIPiP4sj5FmEUX6P0ixqCcGAIBDRMBCBAA
#56169https://github.com/microsoft/TypeScript/pull/56169
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Nov 7, 2023https://github.com/microsoft/TypeScript/issues/56291#issuecomment-1800435754
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Design LimitationConstraints of the existing architecture prevent this from being fixedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Limitation%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
on May 29, 2024https://github.com/microsoft/TypeScript/issues/56291#event-12977857948
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
on Jun 1, 2024https://github.com/microsoft/TypeScript/issues/56291#issuecomment-2143200641
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
not plannedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Jun 1, 2024https://github.com/microsoft/TypeScript/issues/56291#event-13007441951
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/56291
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/56291
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
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.