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 generics handling that occurs before Props #702

Merged
merged 6 commits into from
Jan 17, 2023
Merged

Conversation

natemoo-re
Copy link
Member

Changes

Testing

All existing tests pass, one test added for edge case

Docs

Bug fix only

@changeset-bot
Copy link

changeset-bot bot commented Jan 13, 2023

🦋 Changeset detected

Latest commit: 2c26adb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/compiler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@jasikpark jasikpark left a comment

Choose a reason for hiding this comment

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

looking great to me! fixes the extant bug

@MoustaphaDev
Copy link
Member

MoustaphaDev commented Jan 13, 2023

I guess this PR won't be needed anymore?

@natemoo-re
Copy link
Member Author

natemoo-re commented Jan 13, 2023

I guess this PR won't be needed anymore?

Hmm I'm not sure! The original should work once this change makes its way into VS Code, but that might take a while

Edit: added a fixture for the image props, so it looks like those will be handled properly! Will leave it to @Princesseuh to decide on the original PR.

@natemoo-re natemoo-re merged commit ec1ddf0 into main Jan 17, 2023
@natemoo-re natemoo-re deleted the fix/tsx-generics branch January 17, 2023 14:57
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.

🐛 BUG: [TSX] Interfaces with properties using generic arguments prevent component props from being typed
4 participants