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 children and props type issue in VanJSX #166

Merged
merged 2 commits into from
Nov 1, 2023
Merged

Fix children and props type issue in VanJSX #166

merged 2 commits into from
Nov 1, 2023

Conversation

yahia-berashish
Copy link
Contributor

This PR fixes #142
Unlike the first attempt, it only makes changes to the jsx.internal.d.ts file, by using the HTMLElementTagNameMap and dynamically modifying attributes and children to fix the type issues mentioned in the referenced issue.

@Tao-VanJS
Copy link
Member

@cqh963852, FYI

@cqh963852
Copy link
Contributor

LGTM

@Tao-VanJS
Copy link
Member

@cqh963852, please let me know if I can merge this PR.

@cqh963852
Copy link
Contributor

cqh963852 commented Nov 1, 2023

@cqh963852, please let me know if I can merge this PR.

Yes, It look good to me.

@yahia-berashish
Copy link
Contributor Author

@cqh963852, please let me know if I can merge this PR.

Yes, It look good to me.

@Tao-VanJS

@Tao-VanJS Tao-VanJS merged commit f26a1aa into vanjs-org:main Nov 1, 2023
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.

Incorrect attribute typing for van_jsx
3 participants