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

Add tests for importing types from .d.ts with explicit extension #53890

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

Andarist
Copy link
Contributor

As far as I can tell this works since #52595 and it's expected to work. I very much intend to rely on this behavior for all available module resolution types so it would be great to have an extra test case for this.

cc @andrewbranch

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Apr 18, 2023
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

Copy link
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I very much intend to rely on this behavior

Just don’t forget it won’t work before TS 5.0

@andrewbranch andrewbranch merged commit e4f8c37 into microsoft:main Apr 18, 2023
@Andarist
Copy link
Contributor Author

Just don’t forget it won’t work before TS 5.0

Yeah, I know. For now I'm introducing the new behavior in our tooling behind an opt-in flag and gonna switch the default sometime in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants