Uh oh!
There was an error while loading. Please reload this page.
Deprecate baseUrl - #62509
Merged
Andrew Branch (andrewbranch) merged 2 commits intoSep 30, 2025
Merged
Conversation
TypeScript Bot (typescript-bot)
commented
Sep 29, 2025
Contributor
Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page. Also, please make sure Daniel Rosenwasser (@DanielRosenwasser) and Ryan Cavanaugh (@RyanCavanaugh) are aware of the changes, just as a heads up. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements deprecation warnings for the baseUrl compiler option as part of the broader effort to deprecate it in TypeScript 7.0. The change adds a new deprecation diagnostic that warns users about the upcoming removal while providing migration guidance.
- Adds deprecation warning for
baseUrlwith error code TS5101 - Updates test baselines to reflect the new diagnostic output
- Provides migration information through a documentation link
Sheetal Nandi (sheetalkamat)
approved these changes
Sep 29, 2025
Uh oh!
There was an error while loading. Please reload this page.
Andrew Branch (andrewbranch) added a commit
to andrewbranch/TypeScript
that referenced
this pull request
Oct 25, 2025
Andrew Branch (andrewbranch) added a commit
that referenced
this pull request
Oct 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes#62207