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

Adding volume to HTML Attributes #1938

Merged
merged 2 commits into from
Sep 19, 2019

Conversation

jessicabyrne
Copy link
Contributor

@jessicabyrne jessicabyrne commented Sep 18, 2019

@coveralls
Copy link

coveralls commented Sep 18, 2019

Coverage Status

Coverage increased (+0.1%) to 99.882% when pulling 40e6af2 on jessicabyrne:1934-issue into 3262b5c on preactjs:master.

src/jsx.d.ts Outdated
@@ -750,6 +750,7 @@ export namespace JSXInternal {
ul: HTMLAttributes;
"var": HTMLAttributes;
video: HTMLAttributes;
volume: HTMLAttributes;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be in HTMLAttributes instead.

interface HTMLAttributes {
	...
	volume?: string | number
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right you are. New commit has this change, removed from Intrinsic Elements.

Copy link
Member

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Sweet thank you so much for your PR🙌🍀

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.

audio tag not support volume attribute in typescripts
4 participants