Skip to content

When loading a module from node_modules, get packageId even in the loadModuleFromFile case #18326

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

Merged
merged 1 commit into from
Sep 14, 2017

Conversation

ghost
Copy link

@ghost ghost commented Sep 7, 2017

Port of #18185

@mhegazy I think this would be good to get in for 2.5.3 since it fixes a bug in a new ts2.5 feature.

…oadModuleFromFile` case (#18185)

* When loading a module from node_modules, get packageId even in the `loadModuleFromFile` case

* Support packageId for <reference types> too
@mhegazy mhegazy merged commit 39ecfc0 into release-2.5 Sep 14, 2017
@mhegazy mhegazy deleted the release-2.5_duplicatePackage_subModule branch September 14, 2017 18:51
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants