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 types for TableHTMLAttributes #6197

Merged
merged 4 commits into from
Feb 9, 2023

Conversation

BryceRussell
Copy link
Member

  • Add string type to border attribute for TableHTMLAttributes
  • Add 'false' | 'true' types to frame attribute for TableHTMLAttributes

Thanks @Princesseuh for helping

Changes

What does this change?

Fix types for TableHTMLAttributes

Testing

I am not sure if this needs testing

Docs

I don't think this adds or changes any docs

- Add 'string' type to 'border' attribute
- Add 'false | true' to 'frame' attribute

Thanks Princesseuh for helping
@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2023

🦋 Changeset detected

Latest commit: a56cba5

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

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Feb 9, 2023
@BryceRussell
Copy link
Member Author

BryceRussell commented Feb 9, 2023

I updated the changeset but I am not sure if it is descriptive enough

I could change TableHTMLAttributes to astroHTML.JSX.TableHTMLAttributes

Or maybe change it to this?

Fix border and frame attribute types for <table> elements

Sorry I have never written a changeset before

Copy link
Member

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for updating the changeset!

@natemoo-re natemoo-re merged commit c75d319 into withastro:main Feb 9, 2023
@astrobot-houston astrobot-houston mentioned this pull request Feb 9, 2023
@BryceRussell BryceRussell deleted the fix-border-attr-type branch February 9, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants