-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
π Search Terms
TSConfig root fields errors
β Viability Checklist
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- This feature would agree with the rest of TypeScript's Design Goals.
β Suggestion
{
"target": "es2017",
"module": "commonjs",
"lib": [
"esnext",
"es2015",
"es2016",
"es2017"
]
}Should give some sort of feedback that you really want:
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"lib": [
"esnext",
"es2015",
"es2016",
"es2017"
]
}
}π Motivating Example
I can't think of a reason why you might want to have these keys in the root of your tsconfig, open to ideas about why you might.
π» Use Cases
New folks who accidentally set up the tsconfig wrong
omril1, JoshuaKGoldberg, hobofan and styflehobofan
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