Skip to content

docs(tsconfig): document array form of extends (TS 5.0)#3572

Open
unrevised6419 wants to merge 1 commit into
microsoft:v2from
unrevised6419:docs/extends-array-5.0
Open

docs(tsconfig): document array form of extends (TS 5.0)#3572
unrevised6419 wants to merge 1 commit into
microsoft:v2from
unrevised6419:docs/extends-array-5.0

Conversation

@unrevised6419
Copy link
Copy Markdown

@unrevised6419 unrevised6419 commented May 26, 2026

Summary

  • The extends reference page (packages/tsconfig-reference/copy/en/options/extends.md) still described the value as "a string", with no mention of the array form added in TypeScript 5.0.
  • Adds a short inline note up top and a second ##### Example extending multiple files section that shows the array syntax and the "later overrides earlier" merge order.
  • Follows the structure used by sibling option pages (no ## top-level headings, ##### Example h5 subheads, json tsconfig fences, filenames in backticks).

Closes #3489

Test plan

  • Visual diff of the rendered page in the v2 site preview.
  • Confirm the new section renders under the existing Example heading and that code fences use json tsconfig highlighting.

🤖 Generated with Claude Code

The `extends` reference page still said the value "is a string", with
no mention of the array form introduced in TypeScript 5.0. Add a short
note up top and a second `##### Example extending multiple files`
section showing the syntax and the "later overrides earlier" merge
order, following the existing structure used by sibling option pages.

Closes microsoft#3489

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant