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

consider tsx files on typescript dependency inference #21844

Merged
merged 6 commits into from
Feb 3, 2025

Conversation

kevin-oliveira-zocdoc
Copy link
Contributor

Description

Its possible to import .tsx files from a .ts file on the frontend world. The current typescript dependency inference wasn't considering that file extension.

@huonw
Copy link
Contributor

huonw commented Jan 21, 2025

I'm imagining this is useful behaviour, similar to the reasoning in #21840 (review)

What do you think, @tobni ?

@huonw huonw requested a review from tobni January 21, 2025 23:07
@kevin-oliveira-zocdoc
Copy link
Contributor Author

@tobni @huonw whats your input about these changes?

Copy link
Contributor

@huonw huonw left a comment

Choose a reason for hiding this comment

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

Thanks for waiting. I'll defer to that reasoning in the previous PR to deduce that this seems like useful behaviour.

@huonw huonw merged commit 25447c9 into pantsbuild:main Feb 3, 2025
24 checks passed
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