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

fix: set types specifier for jsxImportSourceTypes #462

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

dsherret
Copy link
Member

No description provided.

@@ -2388,6 +2388,7 @@ pub(crate) fn parse_js_module_from_module_info(
maybe_resolver,
maybe_npm_resolver,
);
dep.maybe_deno_types_specifier = Some(specifier_text);
Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe we should rename this maybe_types_specifier? The problem here is that this was getting lost with Dependency::with_new_resolver

Copy link
Member

Choose a reason for hiding this comment

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

Oh I see - yes, I think that makes sense.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll add a test for this here, do a release, then do that in a followup since it's a breaking change.

@dsherret dsherret requested a review from lucacasonato April 30, 2024 17:01
@dsherret dsherret merged commit 5e2f69e into denoland:main Apr 30, 2024
3 checks passed
@dsherret dsherret deleted the fix_types_specifier branch April 30, 2024 17:17
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