Acknowledgement
Comment
There is a lot of information on https://typescriptlang.org/tsconfig that's just plain wrong now that 6.0 has been released.
Some things I've noticed so far:
The documentation for the default value of target is currently wrong (at least the "…ES5 otherwise" bit). This section also still mentions ES3 as an allowed target value.
The documentation for types still says:
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.
The paths documentation says:
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.
Acknowledgement
Comment
There is a lot of information on https://typescriptlang.org/tsconfig that's just plain wrong now that 6.0 has been released.
Some things I've noticed so far:
The documentation for the default value of
targetis currently wrong (at least the "…ES5otherwise" bit). This section also still mentionsES3as an allowedtargetvalue.The documentation for
typesstill says:But
typesactually now defaults to[], and@typespackages need to be explicitly listed to be included in the global scope.The
pathsdocumentation says:But I'm pretty sure the first part of that is a lie.
rootDirtalks 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.modulestill refers toamd&umd, but those no longer exist.There are likely additional things that are outdated; the above was just based on a quick skim.