-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
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"
]
...
}
}
aluanhaddad, dchristensen, lcoenen, huafu, slawiko and 8 moreaight8 and lcoenen
Metadata
Metadata
Assignees
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript