Microsoft/TypeScript
Voir sur GitHubDocument that compiler.extends can be an array
Open
#62âŻ915 ouverte le 20 dĂ©c. 2025
DocsHelp Wanted
Métriques du dépÎt
- Stars
-  (48âŻ455 stars)
- Métriques de merge PR
-  (Merge moyen 6j 17h) (9 PRs mergées en 30 j)
Description
đ Search Terms
compiler.extends extends
â 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 isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
â Suggestion
After merging https://github.com/microsoft/TypeScript/pull/50403, the docs at https://www.typescriptlang.org/tsconfig/#extends haven't been updated to indicate that extends may be an array.
đ Motivating Example
Users may only learn that extends may be an array if they find the PR above.