Microsoft/TypeScript

Please add default values to all properties in configuration reference

Open

#48.441 aperta il 26 mar 2022

Vedi su GitHub
 (2 commenti) (4 reazioni) (0 assegnatari)TypeScript (6726 fork)batch import
DocsHelp Wanted

Metriche repository

Star
 (48.455 star)
Metriche merge PR
 (Merge medio 6g 17h) (9 PR mergiate in 30 g)

Descrizione

Suggestion

Currently, the TypeScript configuration reference documentation page lacks the default values for some of the configuration properties. This may lead to confusion, cluttered configuration files and unexpected compilation results.

Please, add default values for all properties to the TypeScript configuration reference documentation page.

🔍 Search Terms

configuration default

✅ Viability Checklist

My suggestion meets these guidelines:

  • 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

Please, add default values for all properties to the TypeScript configuration reference documentation page.

📃 Motivating Example

Currently, the TypeScript configuration reference documentation page lacks the default values for some of the configuration properties. This may lead to confusion, cluttered configuration files and unexpected compilation results.

Guida contributor