-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Deprecate --outFile
#62981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Deprecate --outFile
#62981
Conversation
There was a problem hiding this 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
--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) |
|
I will dare @typescript-bot user test this |
|
@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! |
|
@jakebailey Here are the results of running the top 800 repos with tsc comparing Everything looks good! |
Fixes #62980