Closed
Description
Suggestion
I'm using Typedoc which has very similar options to tsc
and book keeping and converting these options is tedious and error prone. It would be nice if tsc
could dump its effective compiler options (considering the default values, extends
rules, etc.) as a json file. This can be particularly useful when debugging the configurations to see what config is effectively being used for the compilation process.
TypeScript Version: 2.2.1 / nightly (2.2.0-dev.201xxxxx)
Expected behavior:
tsc --effectiveConfig
# Prints out a json object on STDOUT that is ready to be redirected to a JSON file
{
"compilerOptions": {
"module": "commonjs",
"sourceMap": true,
"target": "es2016",
"noEmitOnError": true,
"alwaysStrict": true,
"importHelpers": true,
"lib": [
"es2015"
]
...
}
}