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

Correctly handle qualified names in TS types import() #9579

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

devongovett
Copy link
Member

Fixed a bug in #9573. A type import with a qualified name (dot syntax), e.g. import('react').JSX.Element should be compiled to import {JSX} from 'react'; JSX.Element, and previously was only compiled to JSX`.

@devongovett devongovett merged commit 108f82f into v2 Mar 14, 2024
14 of 16 checks passed
@devongovett devongovett deleted the ts-qualified-name branch March 14, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants