Uh oh!
There was an error while loading. Please reload this page.
Deprecate --outFile - #62981
Conversation
There was a problem hiding this comment.
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
--outFileoption 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) |
Jake Bailey (jakebailey)
commented
Jan 13, 2026
I will dare TypeScript Bot (@typescript-bot) user test this |
TypeScript Bot (typescript-bot)
commented
Jan 13, 2026
Jake Bailey (@jakebailey) Here are the results of running the user tests with tsc comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
TypeScript Bot (typescript-bot)
commented
Jan 13, 2026
Jake Bailey (@jakebailey) Here are the results of running the top 800 repos with tsc comparing Everything looks good! |
Uh oh!
There was an error while loading. Please reload this page.
Fixes#62980