-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Design Meeting Notes, 2/23/2024 #57567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think this bullet point is missing some words after and.
|
Highlighting some answers from #57486 (comment) to the above questions
Yes, please! But I don't think the {
"extends": [
{ "name": "a", "path": "../a" },
{ "name": "b", "path": "../b" },
],
"compilerOptions": {
"target": "${a}"
},
"include": [
"${*}",
"./**/*",
]
}
A few options:
"paths": [
"${a}",
"${b}",
{
"@mystuff/*": [ "./*" ]
}
]
"paths": {
"&": [ "${a}", "${b}" ],
"@mystuff/*": [ "./*" ]
}
"paths": {
"*": [ "${a}" ],
"@b/supported/*": ["${b}"],
"@mystuff/*": [ "./*" ]
} In this case, all the paths from
Short is nice, but manually rewriting is a much bigger concern. |
Exposing Internal Performance Tracing APIs
#57477
Disposable
s - so we might want to make some API changes.Customizing Behavior of tsconfig Extending (merging/overriding)
#57486
Have a table of all the options that are lists or objects.
include
/exclude
?Reconsidering if "merge all fields" makes sense.
How does it work when an intermediate config says "don't merge" and the root says "do merge" or vice versa?
tsconfig.json
.Multiple inheritance?
Okay, here we go.
How do we design this?
mergeFields: [option name array]
?DO MERGE LISTS MERGE?
tsconfig.json
is susceptible to accidentally merging data from its bases.tsconfig.json
andtsconfig.json
as flattenedTemplating variables?
paths
ofa
orb
?paths
is an object with entries.It sounds like the feedback we've gotten from developers is they want the shortest possible
tsconfig.json
.The text was updated successfully, but these errors were encountered: