Microsoft/TypeScript
GitHub ã§èŠãDocument that compiler.extends can be an array
Open
#62,915 opened on 2025幎12æ20æ¥
DocsHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
ð 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.