-
Notifications
You must be signed in to change notification settings - Fork 13k
Deprecate --moduleResolution node10
#62338
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
Conversation
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 @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up. |
Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping @sheetalkamat, @mjbvz, @zkat, and @joj for you. Feel free to loop in other consumers/maintainers if necessary. |
Looks like something you might want to stop pinging me on btw. Hope all is well! ❤️ |
@zkat I was just working on that 😄❤️ Same to you! |
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Before we do this we'll need to update DT to support non node10 resolution :( |
I'm not sure what you mean; AFAICT nothing in DT relies on |
656 of 9071 currently use |
Yeah, you're right. |
I think we also need to change resolution mode in resolveLibrary options ? https://github.com/microsoft/TypeScript/blob/main/src/compiler/moduleNameResolver.ts#L1388C32-L1388C52 |
Fixes #62200
moduleResolution
for--module commonjs
tobundler
node10
behaviornode10