Skip to content

Conversation

@RyanCavanaugh
Copy link
Member

Fixes #62980

Copilot AI review requested due to automatic review settings January 13, 2026 00:48
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jan 13, 2026
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jan 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request deprecates the --outFile compiler option in TypeScript, aligning with the broader effort to phase out legacy module bundling features in favor of modern bundlers.

Changes:

  • Added deprecation error TS5101 for the --outFile option across the compiler test suite
  • Updated baseline files to reflect the new deprecation warning in error outputs

Reviewed changes

Copilot reviewed 300 out of 534 changed files in this pull request and generated no comments.

File Description
All .errors.txt files in tests/baselines/reference/ Updated baseline error outputs to include TS5101 deprecation warning for --outFile option
outFileIsDeprecated.types, outFileIsDeprecated.symbols, outFileIsDeprecated.js New baseline files for test validating the deprecation warning
multipleDeclarations.types, methodsReturningThis.types, jsdocReadonlyDeclarations.types, etc. Minor formatting changes in type baseline files (additional line number annotations)

@jakebailey
Copy link
Member

I will dare

@typescript-bot user test this
@typescript-bot test top800

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 13, 2026

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
user test this ✅ Started ✅ Results
test top800 ✅ Started ✅ Results

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user tests with tsc comparing main and refs/pull/62981/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Package install failed"
  • 1 instance of "Git clone failed"

Otherwise...

Everything looks good!

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top 800 repos with tsc comparing main and refs/pull/62981/merge:

Everything looks good!

@github-project-automation github-project-automation bot moved this from Not started to Needs merge in PR Backlog Jan 13, 2026
@RyanCavanaugh RyanCavanaugh added this pull request to the merge queue Jan 13, 2026
Merged via the queue into microsoft:main with commit 631affd Jan 13, 2026
33 checks passed
@RyanCavanaugh RyanCavanaugh deleted the deprecateOutFile2 branch January 13, 2026 20:50
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Deprecate, remove --outFile

4 participants