Skip to content

Document tsconfig extends arrays#3610

Closed
vivekjm wants to merge 1 commit into
microsoft:v2from
vivekjm:agent/tsconfig-extends-array-docs
Closed

Document tsconfig extends arrays#3610
vivekjm wants to merge 1 commit into
microsoft:v2from
vivekjm:agent/tsconfig-extends-array-docs

Conversation

@vivekjm

@vivekjm vivekjm commented Jul 12, 2026

Copy link
Copy Markdown

Summary

  • document that tsconfig.json extends accepts either a string or an array of config paths
  • clarify that multiple extended configs are applied in array order, with later configs overriding earlier ones
  • add a small array example to the extends TSConfig reference page

Fixes microsoft/TypeScript#62915.

Validation

  • git diff --check
  • pnpm exec prettier --check packages/tsconfig-reference/copy/en/options/extends.md
  • pnpm run --filter=tsconfig-reference lint was attempted after pnpm install --frozen-lockfile; it is blocked locally by the existing workspace build for @typescript/twoslash failing to resolve @typescript/vfs before linting this markdown change. Retried with Node v20.20.0 to satisfy the repo engine requirement and saw the same workspace resolution failure.

@vivekjm

vivekjm commented Jul 17, 2026

Copy link
Copy Markdown
Author

Closing this as a duplicate of #3595, which covers the same tsconfig extends array docs update and has the fuller validation notes. Keeping #3595 as the active PR for microsoft/TypeScript#62915.

@vivekjm vivekjm closed this Jul 17, 2026
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.

Document that compiler.extends can be an array

1 participant