You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Review/update https://typescriptlang.org/tsconfig for TypeScript 6/7 #63392
By default all visible ”@types” packages are included in your compilation. Packages in node_modules/@types of any enclosing folder are considered visible.
But types actually now defaults to [], and @types packages need to be explicitly listed to be included in the global scope.
A series of entries which re-map imports to lookup locations relative to the baseUrl if set, or to the tsconfig file itself otherwise.
But I'm pretty sure the first part of that is a lie.
rootDir talks about its default being computed from "the longest common path of all non-declaration input files" (both in the description and the "Default" section on the right side), but really it's just the parent directory of the tsconfig file.
module still refers to amd & umd, but those no longer exist.
There are likely additional things that are outdated; the above was just based on a quick skim.
This issue's rightful home is probably https://github.com/microsoft/TypeScript-Website/issues, but it doesn't fit the available issue templates there. It's not quite "critical" but IMO seems important to address soonish to avoid undue confusion during the 5 → 6 transition. I also worry it wouldn't have enough visibility if filed there.
Anyway, I'm happy to close this and re-file over there if desired.
I could take a stab at a pull request, but I feel like a maintainer would do a better job at capturing the nuances, and would have better eyes for catching things I've missed. Maybe I could at least do a first pass though; let me know if that'd be helpful.
I started this at RyanCavanaugh/schemastore#1 but haven't had time to get it over the finish line. Feel free to doublecheck this; it's not fully vetted yet.
I landed here because we are currently in the process of upgrading to 6.0 (on our way to 7.0) and we found numerous discrepancies between what was mentioned in the 6.0 release announcement, the official TSconfig reference on the website, and the output of tsc --all.
I understand that the focus over the past year has largely been on tsgo (7.0), and now the corresponding API changes (7.1), but the Typescript project seems to be doing itself a disservice by allowing the official config reference to languish with stale/outdated information for many months.
(and before anyone says "PRs welcome", the comment directly above mine references two such PRs that have been open since July)
Activity
mkantor commentedon Apr 12, 2026
This issue's rightful home is probably https://github.com/microsoft/TypeScript-Website/issues, but it doesn't fit the available issue templates there. It's not quite "critical" but IMO seems important to address soonish to avoid undue confusion during the 5 → 6 transition. I also worry it wouldn't have enough visibility if filed there.
Anyway, I'm happy to close this and re-file over there if desired.
mkantor commentedon Apr 12, 2026
I could take a stab at a pull request, but I feel like a maintainer would do a better job at capturing the nuances, and would have better eyes for catching things I've missed. Maybe I could at least do a first pass though; let me know if that'd be helpful.
mkantor commentedon Apr 12, 2026
If anyone spots additional items requiring attention, please post them as comments and I'll add them to my list.
RyanCavanaugh commentedon Apr 14, 2026
I started this at RyanCavanaugh/schemastore#1 but haven't had time to get it over the finish line. Feel free to doublecheck this; it's not fully vetted yet.
mkantor commentedon Apr 14, 2026
I left a few comments on RyanCavanaugh/schemastore#1, but also I think that pull request will affect defaults & allowed values, but not the description copy on https://typescriptlang.org/tsconfig. The descriptions will need to be separately updated in the https://github.com/microsoft/TypeScript-Website repository, right?
jonkoops commentedon Jul 9, 2026
I've opened two PRs on the TypeScript-Website repo to address parts of this:
moduledefault value in tsconfigRules TypeScript-Website#3608 — fixes themoduledefault (also fixes [V6]moduledefaults is notesnext#63330)moduleResolutiondefault value in tsconfigRules TypeScript-Website#3609 — fixes themoduleResolutiondefaultBoth update the defaults in
tsconfigRules.tsto match the current compiler logic. Happy to tackle more items from this list if these get merged.scottohara commentedon Oct 13, 2026
I landed here because we are currently in the process of upgrading to 6.0 (on our way to 7.0) and we found numerous discrepancies between what was mentioned in the 6.0 release announcement, the official TSconfig reference on the website, and the output of
tsc --all.I understand that the focus over the past year has largely been on
tsgo(7.0), and now the corresponding API changes (7.1), but the Typescript project seems to be doing itself a disservice by allowing the official config reference to languish with stale/outdated information for many months.(and before anyone says "PRs welcome", the comment directly above mine references two such PRs that have been open since July)
[-]Review/update https://typescriptlang.org/tsconfig for TS 6.0[/-]