Skip to content
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

Unify default import resolution across specifier target codepaths #49814

Merged
merged 3 commits into from
Aug 19, 2022

Conversation

weswigham
Copy link
Member

Fixes #49567

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jul 6, 2022
@chentsulin
Copy link

chentsulin commented Aug 18, 2022

@weswigham Is there any chance to move this PR forward? The behavior confused a lot of people who are trying to use TS with ESM. Love to see if there are any updates 😁

@weswigham weswigham merged commit 05d7d6b into microsoft:main Aug 19, 2022
@chentsulin
Copy link

How about cherry-picking this fix into the 4.8 branch? I found it still a problem in new released 4.8.2.

@RyanCavanaugh
Copy link
Member

@typescript-bot cherry-pick this to release-4.8

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 30, 2022

Heya @RyanCavanaugh, I've started to run the task to cherry-pick this into release-4.8 on this PR at cf010b5. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-4.8 manually.

@weswigham
Copy link
Member Author

@typescript-bot cherry-pick this to release-4.8

@typescript-bot
Copy link
Collaborator

typescript-bot commented Sep 1, 2022

Heya @weswigham, I've started to run the task to cherry-pick this into release-4.8 on this PR at cf010b5. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @weswigham, I've opened #50578 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Sep 1, 2022
Component commits:
e2d22fa Unify default import resolution across specifier target codepaths

b341699 Merge main into branch

cf010b5 Use differing type aliases, per request
weswigham added a commit that referenced this pull request Sep 1, 2022
Component commits:
e2d22fa Unify default import resolution across specifier target codepaths

b341699 Merge main into branch

cf010b5 Use differing type aliases, per request

Co-authored-by: Wesley Wigham <[email protected]>
@andrewbranch andrewbranch added this to the TypeScript 4.8.3 milestone Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Import named default is typed differently than default import (with moduleResolution: node16)
6 participants