π Search Terms
showconfig
π Version & Regression Information
- This changed between versions 5.9.3 and 6.0.3
β― Playground Link
No response
π» Code
The --showConfig option used to show all the compilerOptions, inluding the ones not explicitly specified in tsconfig so one could see also the applied default values (that is the purpose of the command - to see the final config, even according to docs).
After update to 6.0.3 many options are no longer present. The same tsconfig (below) was used to generate --showConfig output.
TSConfig file:
{
"compilerOptions": {
"module": "nodenext",
"outDir": "dist",
"rootDir": ".",
"sourceMap": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["node", "jest"]
}
}
π Actual behavior
The --showConfig output for TS 5.9.3:
{
"compilerOptions": {
"module": "nodenext",
"outDir": "./dist",
"rootDir": "./",
"sourceMap": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["node", "jest"],
"target": "esnext",
"moduleResolution": "nodenext",
"moduleDetection": "force",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolvePackageJsonExports": true,
"resolvePackageJsonImports": true,
"resolveJsonModule": true,
"useDefineForClassFields": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"strictBuiltinIteratorReturn": true,
"alwaysStrict": true,
"useUnknownInCatchVariables": true
},
"files": [
// no change
],
"exclude": [
// no change
]
}
The --showConfig output for TS 6.0.3:
{
"compilerOptions": {
"module": "nodenext",
"outDir": "./dist",
"rootDir": "./",
"sourceMap": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["node", "jest"],
"moduleResolution": "nodenext",
"moduleDetection": "force"
},
"files": [
// no change
],
"exclude": [
// no change
]
}
π Expected behavior
All the remaining compilerOptions should be present in the --showConfig output.
Additional information about the issue
No response
π Search Terms
showconfig
π Version & Regression Information
β― Playground Link
No response
π» Code
The
--showConfigoption used to show all thecompilerOptions, inluding the ones not explicitly specified intsconfigso one could see also the applied default values (that is the purpose of the command - to see the final config, even according to docs).After update to 6.0.3 many options are no longer present. The same
tsconfig(below) was used to generate--showConfigoutput.TSConfig file:
{ "compilerOptions": { "module": "nodenext", "outDir": "dist", "rootDir": ".", "sourceMap": true, "strict": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "types": ["node", "jest"] } }π Actual behavior
The
--showConfigoutput for TS 5.9.3:{ "compilerOptions": { "module": "nodenext", "outDir": "./dist", "rootDir": "./", "sourceMap": true, "strict": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "types": ["node", "jest"], "target": "esnext", "moduleResolution": "nodenext", "moduleDetection": "force", "esModuleInterop": true, "allowSyntheticDefaultImports": true, "resolvePackageJsonExports": true, "resolvePackageJsonImports": true, "resolveJsonModule": true, "useDefineForClassFields": true, "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, "strictBindCallApply": true, "strictPropertyInitialization": true, "strictBuiltinIteratorReturn": true, "alwaysStrict": true, "useUnknownInCatchVariables": true }, "files": [ // no change ], "exclude": [ // no change ] }The
--showConfigoutput for TS 6.0.3:{ "compilerOptions": { "module": "nodenext", "outDir": "./dist", "rootDir": "./", "sourceMap": true, "strict": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "types": ["node", "jest"], "moduleResolution": "nodenext", "moduleDetection": "force" }, "files": [ // no change ], "exclude": [ // no change ] }π Expected behavior
All the remaining
compilerOptionsshould be present in the--showConfigoutput.Additional information about the issue
No response