René's URL Explorer Experiment


Title: Design Meeting Notes, 2/16/2024 · Issue #57425 · microsoft/TypeScript · GitHub

Open Graph Title: Design Meeting Notes, 2/16/2024 · Issue #57425 · microsoft/TypeScript

X Title: Design Meeting Notes, 2/16/2024 · Issue #57425 · microsoft/TypeScript

Description: Other ways to extend contents of tsconfig.json files #56436 Want people to be able to merge properties from other tsconfig.jsons. Today, you can only override them, sometimes don't inherit them. Could look like an array of properties you...

Open Graph Description: Other ways to extend contents of tsconfig.json files #56436 Want people to be able to merge properties from other tsconfig.jsons. Today, you can only override them, sometimes don't inherit them. Co...

X Description: Other ways to extend contents of tsconfig.json files #56436 Want people to be able to merge properties from other tsconfig.jsons. Today, you can only override them, sometimes don't inherit them...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 2/16/2024","articleBody":"# Other ways to extend contents of `tsconfig.json` files\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/56436\r\n\r\n* Want people to be able to merge properties from other `tsconfig.json`s.\r\n    * Today, you can only override them, sometimes don't inherit them.\r\n    * Could look like an array of properties you want merged, or an object that can be merged.\r\n    * Could also look like a field called `extends` or `merge` which implies merging behavior for every listed property, and can add contents as well.\r\n* It's not just merging - also want to be able to do a \"raw\" copy so that things become relative to the current `tsconfig.json`\r\n    * e.g. inherit `outDir` in a way where things become relative to the current `tsconfig.json`, rather than being normalized and copied from the original `tsconfig.json`\r\n    * One idea is to have a `raw` field (similar to a `merge` field) that lists the properties you want to do a raw copy of.\r\n    * Another option is to use an interpolation string like `\"${workspaceDir}\"`.\r\n        * Some support around this idea because it's similar to `tsconfig.json`.\r\n* Having a weird time understanding use-cases with `references` due to transitive dependencies?\r\n    * Something with dual builds.\r\n* Agree with solving the problem space, but trying to find good ergnomics.\r\n* Are there order-dependency risks?\r\n    * Path mapping, type roots, stuff like that.\r\n* Could have imagined if we did it all over again today, we'd do `compilerOptions` being overrides, and `mergedCompilerOptions`.\r\n* If we did it all over again, would we have just picked merge as the default strategy?\r\n    * Certainly for `paths`, `typeRoots`, maybe `lib`.\r\n    * In a sense we do merge, but it's just not deep.\r\n* So should we try to change the default of how `tsconfig.json` inheritance operates?\r\n    * Fix everything in TypeScript 6.0\r\n    * That might be a way bigger break than you realize!\r\n* VS Code does automatic merging and interpolated variables.\r\n    * No way to override! Only merge!\r\n* If we did interpolated variables.\r\n    * Path of configuration file\r\n        * `configLocation`\r\n        * `configFolder`\r\n        * `configDirectory`\r\n        * `projectLocation`\r\n        * `projectFolder`\r\n        * `projectDirectory`\r\n    * `fileName` - could model a project build for different targets like `tsconfig.cjs.json` and `tsconfig.esm.json`\r\n        * \"Please let's not talk about project references here.\"\r\n            * *Editor's note: :(*\r\n* Consensus around introducing an variable name like `${configDirectory}` once we know what the actual name is.\r\n\r\n# Instantiate earlier inferred constraints in conditional type\r\n\r\nhttps://github.com/microsoft/TypeScript/pull/57362\r\n\r\n* Bug a long time ago - type parameters would leak when they referred to themselves in a conditional type extends clause.\r\n* Fixed the issue for a subset of types that were considered directly generic - but not instantiations of object types with type parameters.\r\n* New fix includes the `infer` type parameters in the new inference context.\r\n* ✅\r\n\r\n# Avoid creating rest elements with `errorType` when `any` is spread\r\n\r\nhttps://github.com/microsoft/TypeScript/pull/57116\r\n\r\n* Made a change where if you spread in something of type `any` into the end of an array and then try to destructure it, you end up with `unknown[]`.\r\n    * Why? When you spread `any`, you end up with `errorType` as the rest element type. But then you end up with `unknown[]` when you slice the end off.\r\n* The PR seems right, maybe lacking a test for spreading in other kinds of `any` types like the error type itself.\r\n* ✅","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2024-02-16T19:56:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/57425/TypeScript/issues/57425"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1d40a6d6-8c17-1324-47b6-45df74971fb5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id938E:115C32:3D35CD:51E119:6A614EC7
html-safe-nonce51d8017cf6906f1d507fba2c8b9b04fde105293e8e1855a54e8c23c891709be2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzhFOjExNUMzMjozRDM1Q0Q6NTFFMTE5OjZBNjE0RUM3IiwidmlzaXRvcl9pZCI6IjU0MjA4MzE0NTMzMTk2MTQxNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6af2ab2ce71bc3b8c0fa8678bdff5283c5452ba122c8f9b10d8a62eed601d74a
hovercard-subject-tagissue:2139337363
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/57425/issue_layout
twitter:imagehttps://opengraph.githubassets.com/efdf6ae1b4a2253de2f1b6ffcc6492d98d0ad4ab2dc599f5bd6d2d0d379f326d/microsoft/TypeScript/issues/57425
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/efdf6ae1b4a2253de2f1b6ffcc6492d98d0ad4ab2dc599f5bd6d2d0d379f326d/microsoft/TypeScript/issues/57425
og:image:altOther ways to extend contents of tsconfig.json files #56436 Want people to be able to merge properties from other tsconfig.jsons. Today, you can only override them, sometimes don't inherit them. Co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielRosenwasser
hostnamegithub.com
expected-hostnamegithub.com
None35b919fdb8e6752d2ed95a144e761ca5e924557563e2ed0a5ebf6c4430cdeeb6
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
release1e22b08b60ccb67c3791f565bed248565260e611
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/57425#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F57425
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F57425
Sign up https://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/57425
Reloadhttps://github.com/microsoft/TypeScript/issues/57425
Reloadhttps://github.com/microsoft/TypeScript/issues/57425
Please reload this pagehttps://github.com/microsoft/TypeScript/issues/57425
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 21 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Design Meeting Notes, 2/16/2024https://github.com/microsoft/TypeScript/issues/57425#top
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
on Feb 16, 2024https://github.com/microsoft/TypeScript/issues/57425#issue-2139337363
#56436https://github.com/microsoft/TypeScript/issues/56436
#57362https://github.com/microsoft/TypeScript/pull/57362
#57116https://github.com/microsoft/TypeScript/pull/57116
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%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.